summaryrefslogtreecommitdiffstats
path: root/man_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 /man_hash.c
parent7247395c704e001fab02fd797a5d6dac44de2fd8 (diff)
downloadmandoc-fff866326138584471c95aa4b65f20e473c455a2.tar.gz
Lintifications.
Diffstat (limited to 'man_hash.c')
-rw-r--r--man_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_hash.c b/man_hash.c
index 9d8f6c09..4d839d7d 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -22,7 +22,7 @@
#include "libman.h"
-static unsigned char table[26 * 6];
+static u_char table[26 * 6];
void
@@ -42,7 +42,7 @@ man_hash_init(void)
for (j = 0; j < 6; j++)
if (UCHAR_MAX == table[x + j]) {
- table[x + j] = i;
+ table[x + j] = (u_char)i;
break;
}
assert(j < 6);