summaryrefslogtreecommitdiffstats
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
commitfff866326138584471c95aa4b65f20e473c455a2 (patch)
treea51827a1a1b7cd70e35319d29e5fe183c31e64af /mdoc_hash.c
parent7247395c704e001fab02fd797a5d6dac44de2fd8 (diff)
downloadmandoc-fff866326138584471c95aa4b65f20e473c455a2.tar.gz
Lintifications.
Diffstat (limited to 'mdoc_hash.c')
-rw-r--r--mdoc_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_hash.c b/mdoc_hash.c
index 44e147f7..4088e79a 100644
--- a/mdoc_hash.c
+++ b/mdoc_hash.c
@@ -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;
}