From ea750887d0d1dfad81d0f7e066c720defe06e08a Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 16 Sep 2009 20:49:06 +0000 Subject: Lintifications. --- mdoc_hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mdoc_hash.c') 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 * @@ -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; } -- cgit v1.2.3-56-ge451