diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-08 07:30:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-08 07:30:19 +0000 |
commit | 29086c29fdd989b9c086bf25e0790ba21243c4ff (patch) | |
tree | 50a8ad3ca3079d5cf210d324169efe8e8f96b62d /man_hash.c | |
parent | 98c1a46e2586de979ce0fc696b15d91fb80166c5 (diff) | |
download | mandoc-29086c29fdd989b9c086bf25e0790ba21243c4ff.tar.gz mandoc-29086c29fdd989b9c086bf25e0790ba21243c4ff.tar.zst mandoc-29086c29fdd989b9c086bf25e0790ba21243c4ff.zip |
Lint fixes (type-safety for enums via -cefuh).
Diffstat (limited to 'man_hash.c')
-rw-r--r-- | man_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_hash.c,v 1.18 2010/03/27 10:14:32 kristaps Exp $ */ +/* $Id: man_hash.c,v 1.19 2010/05/08 07:30:19 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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); |