diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-12 12:29:03 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-12 20:29:44 +0000 |
commit | 43d595ec39f68f9a572e420e904d48bd28a567f6 (patch) | |
tree | 2d78ca940256882bf5248f2c5a57a5d59972e358 /tools | |
parent | 4ffffdadd09707865f4f2eb4d97dbc5bb817389c (diff) |
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')
-rw-r--r-- | tools/lemon/lempar.c | 2 |
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; |