aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_hash.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-16 20:49:06 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-16 20:49:06 +0000
commitea750887d0d1dfad81d0f7e066c720defe06e08a (patch)
treef9b58cfb5a3fcfef6156f15b141e9c51a92d825e /mdoc_hash.c
parent29c6eeca7257e2e5a09c15ae2622377632f25681 (diff)
downloadmandoc-ea750887d0d1dfad81d0f7e066c720defe06e08a.tar.gz
mandoc-ea750887d0d1dfad81d0f7e066c720defe06e08a.tar.zst
mandoc-ea750887d0d1dfad81d0f7e066c720defe06e08a.zip
Lintifications.
Diffstat (limited to 'mdoc_hash.c')
-rw-r--r--mdoc_hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_hash.c b/mdoc_hash.c
index 7f033f4e..757437c0 100644
--- a/mdoc_hash.c
+++ b/mdoc_hash.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_hash.c,v 1.9 2009/09/16 14:40:56 kristaps Exp $ */
+/* $Id: mdoc_hash.c,v 1.10 2009/09/16 20:49:06 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -25,7 +25,7 @@
#include "libmdoc.h"
-static unsigned char table[27 * 12];
+static u_char table[27 * 12];
void
@@ -46,7 +46,7 @@ mdoc_hash_init(void)
for (j = 0; j < 12; j++)
if (UCHAR_MAX == table[major + j]) {
- table[major + j] = i;
+ table[major + j] = (u_char)i;
break;
}