1 --- db-5.3.28/lang/sql/sqlite/tool/lemon.c.lemon_hash 2013-09-09 17:35:07.000000000 +0200
2 +++ db-5.3.28/lang/sql/sqlite/tool/lemon.c 2017-02-22 13:12:08.564106051 +0100
4 int maxdtlength; /* Maximum length of any ".datatype" field. */
5 char *stddt; /* Standardized name for a datatype */
6 int i,j; /* Loop counters */
7 - int hash; /* For hashing the name of a type */
8 + unsigned hash; /* For hashing the name of a type */
9 const char *name; /* Name of the parser */
11 /* Allocate and initialize types[] and allocate stddt[] */
16 - if( hash>=arraysize ) hash = 0;
17 + if( hash>=(unsigned)arraysize ) hash = 0;