mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 03:41:44 +00:00
e7badaa6cb
There's no need to maintain an old version. Removed all patches as they are all upstream. Import new ones from Arch, Debian, and OpenEmbedded. Signed-off-by: Rosen Penev <rosenp@gmail.com>
21 lines
796 B
Diff
21 lines
796 B
Diff
--- a/lang/sql/sqlite/tool/lemon.c
|
|
+++ b/lang/sql/sqlite/tool/lemon.c
|
|
@@ -3428,7 +3428,7 @@ void print_stack_union(
|
|
int maxdtlength; /* Maximum length of any ".datatype" field. */
|
|
char *stddt; /* Standardized name for a datatype */
|
|
int i,j; /* Loop counters */
|
|
- int hash; /* For hashing the name of a type */
|
|
+ unsigned hash; /* For hashing the name of a type */
|
|
const char *name; /* Name of the parser */
|
|
|
|
/* Allocate and initialize types[] and allocate stddt[] */
|
|
@@ -3491,7 +3491,7 @@ void print_stack_union(
|
|
break;
|
|
}
|
|
hash++;
|
|
- if( hash>=arraysize ) hash = 0;
|
|
+ if( hash>=(unsigned)arraysize ) hash = 0;
|
|
}
|
|
if( types[hash]==0 ){
|
|
sp->dtnum = hash + 1;
|