summaryrefslogtreecommitdiffstats
path: root/mdoc_hash.c
diff options
context:
space:
mode:
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]))