X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/ea6ed8eb4a9349ba679125913c5a03c1027783b2..8a9955ded5b3519ff94525c0fb33216b517e64c7:/mdoc_hash.c diff --git a/mdoc_hash.c b/mdoc_hash.c index 0b89cd8a..25cf603d 100644 --- a/mdoc_hash.c +++ b/mdoc_hash.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_hash.c,v 1.13 2010/03/31 07:13:53 kristaps Exp $ */ +/* $Id: mdoc_hash.c,v 1.14 2010/05/08 07:30:19 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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]))