summaryrefslogtreecommitdiff
path: root/tools/lemon
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-12 12:29:03 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-12 20:29:44 +0000
commit43d595ec39f68f9a572e420e904d48bd28a567f6 (patch)
tree2d78ca940256882bf5248f2c5a57a5d59972e358 /tools/lemon
parent4ffffdadd09707865f4f2eb4d97dbc5bb817389c (diff)
downloadwireshark-43d595ec39f68f9a572e420e904d48bd28a567f6.tar.gz
Fix another warning on 64-bit platforms.
Change-Id: I5cdf55cdaef048d9d564a5fca39027dae3b78bab Reviewed-on: https://code.wireshark.org/review/13242 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tools/lemon')
-rw-r--r--tools/lemon/lempar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lemon/lempar.c b/tools/lemon/lempar.c
index f945261255..df77e52d4e 100644
--- a/tools/lemon/lempar.c
+++ b/tools/lemon/lempar.c
@@ -640,7 +640,7 @@ static void yy_reduce(
%%
/********** End reduce actions ************************************************/
};
- assert( yyruleno>=0 && yyruleno<sizeof(yyRuleInfo)/sizeof(yyRuleInfo[0]) );
+ assert( yyruleno>=0 && yyruleno<(int)(sizeof(yyRuleInfo)/sizeof(yyRuleInfo[0])) );
yygoto = yyRuleInfo[yyruleno].lhs;
yysize = yyRuleInfo[yyruleno].nrhs;
yypParser->yyidx -= yysize;