summaryrefslogtreecommitdiffstats
path: root/man_hash.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 07:30:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 07:30:19 +0000
commitc10df4f63596660b1a585dd712a0778b88ec5874 (patch)
treef77bfbb9e507408371b66a87df9e677a040288a1 /man_hash.c
parent0f679b197ab273ae0779713155a8a455d4a770fe (diff)
downloadmandoc-c10df4f63596660b1a585dd712a0778b88ec5874.tar.gz
Lint fixes (type-safety for enums via -cefuh).
Diffstat (limited to 'man_hash.c')
-rw-r--r--man_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_hash.c b/man_hash.c
index b3d33156..dc81b161 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -63,7 +63,7 @@ man_hash_init(void)
assert(/* LINTED */
MAN_MAX < UCHAR_MAX);
- for (i = 0; i < MAN_MAX; i++) {
+ for (i = 0; i < (int)MAN_MAX; i++) {
x = man_macronames[i][0];
assert(isalpha((u_char)x) || '.' == x);