diff options
Diffstat (limited to 'tests/objc.exp')
-rw-r--r-- | tests/objc.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/objc.exp b/tests/objc.exp index 363346f..78680c5 100644 --- a/tests/objc.exp +++ b/tests/objc.exp @@ -178,9 +178,9 @@ is_reserved_word (register const char *str, register unsigned int len) if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { - register int key = hash (str, len); + register unsigned int key = hash (str, len); - if (key <= MAX_HASH_VALUE && key >= 0) + if (key <= MAX_HASH_VALUE) { register const char *s = wordlist[key].name; |