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