Blame SOURCES/db-5.3.28-lemon_hash.patch

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