commit | 2b51f2153b0af25966184de4a9a56091d40f60e6 | [log] [tgz] |
---|---|---|
author | drh <drh@noemail.net> | Fri Oct 11 23:01:02 2013 +0000 |
committer | drh <drh@noemail.net> | Fri Oct 11 23:01:02 2013 +0000 |
tree | 1c44a0ad9ce47a1fa98558cda5f1a71f5a7599e1 | |
parent | 691d4c993650a6ef8616471fc6886403c364088f [diff] [blame] |
Fix a harmless compiler warning in lemon.c. FossilOrigin-Name: 62959c0ce3a2c486ebd82e6511efad0412b944a0
diff --git a/tool/lemon.c b/tool/lemon.c index ac08250..58f1388 100644 --- a/tool/lemon.c +++ b/tool/lemon.c
@@ -3458,7 +3458,7 @@ break; } hash++; - if( hash>=arraysize ) hash = 0; + if( hash>=(unsigned)arraysize ) hash = 0; } if( types[hash]==0 ){ sp->dtnum = hash + 1;