diff options
Diffstat (limited to 'mdoc_hash.c')
-rw-r--r-- | mdoc_hash.c | 4 |
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; } |