aboutsummaryrefslogtreecommitdiff
path: root/tool/lemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lemon.c')
-rw-r--r--tool/lemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lemon.c b/tool/lemon.c
index ac0825022..58f13880f 100644
--- a/tool/lemon.c
+++ b/tool/lemon.c
@@ -3458,7 +3458,7 @@ void print_stack_union(
break;
}
hash++;
- if( hash>=arraysize ) hash = 0;
+ if( hash>=(unsigned)arraysize ) hash = 0;
}
if( types[hash]==0 ){
sp->dtnum = hash + 1;