From ea750887d0d1dfad81d0f7e066c720defe06e08a Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 16 Sep 2009 20:49:06 +0000 Subject: Lintifications. --- man_hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man_hash.c') diff --git a/man_hash.c b/man_hash.c index 115a9981..276320cb 100644 --- a/man_hash.c +++ b/man_hash.c @@ -1,4 +1,4 @@ -/* $Id: man_hash.c,v 1.12 2009/09/16 14:40:56 kristaps Exp $ */ +/* $Id: man_hash.c,v 1.13 2009/09/16 20:49:06 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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); -- cgit v1.2.3-56-ge451