diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-16 20:49:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-16 20:49:06 +0000 |
commit | ea750887d0d1dfad81d0f7e066c720defe06e08a (patch) | |
tree | f9b58cfb5a3fcfef6156f15b141e9c51a92d825e /man_hash.c | |
parent | 29c6eeca7257e2e5a09c15ae2622377632f25681 (diff) | |
download | mandoc-ea750887d0d1dfad81d0f7e066c720defe06e08a.tar.gz mandoc-ea750887d0d1dfad81d0f7e066c720defe06e08a.tar.zst mandoc-ea750887d0d1dfad81d0f7e066c720defe06e08a.zip |
Lintifications.
Diffstat (limited to 'man_hash.c')
-rw-r--r-- | man_hash.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <kristaps@kth.se> * @@ -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); |