summaryrefslogtreecommitdiffstats
path: root/mdoc_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 /mdoc_hash.c
parent0f679b197ab273ae0779713155a8a455d4a770fe (diff)
downloadmandoc-c10df4f63596660b1a585dd712a0778b88ec5874.tar.gz
Lint fixes (type-safety for enums via -cefuh).
Diffstat (limited to 'mdoc_hash.c')
-rw-r--r--mdoc_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_hash.c b/mdoc_hash.c
index ce9e3ce3..216f721c 100644
--- a/mdoc_hash.c
+++ b/mdoc_hash.c
@@ -43,7 +43,7 @@ mdoc_hash_init(void)
memset(table, UCHAR_MAX, sizeof(table));
- for (i = 0; i < MDOC_MAX; i++) {
+ for (i = 0; i < (int)MDOC_MAX; i++) {
p = mdoc_macronames[i];
if (isalpha((u_char)p[1]))