]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Minor changes to lempar.c to reduce warnings on some compilers. (CVS 3224)
authordrh <drh@noemail.net>
Tue, 13 Jun 2006 11:15:47 +0000 (11:15 +0000)
committerdrh <drh@noemail.net>
Tue, 13 Jun 2006 11:15:47 +0000 (11:15 +0000)
FossilOrigin-Name: dae71de10d0f34a001b8070266d4016baafa6623

manifest
manifest.uuid
tool/lempar.c

index ff416ad566f7b689d1eb2a88b1c7fd4b58fee2bf..5a596b0a552beba20f03b11ea231dd3377308a2b 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\simplementations\sfor\sopcodes\srequired\sfor\slinear\sscans\sof\svirtual\stables.\s(CVS\s3223)
-D 2006-06-13T10:24:43
+C Minor\schanges\sto\slempar.c\sto\sreduce\swarnings\son\ssome\scompilers.\s(CVS\s3224)
+D 2006-06-13T11:15:48
 F Makefile.in 56fd6261e83f60724e6dcd764e06ab68cbd53909
 F Makefile.linux-gcc 74ba0eadf88748a9ce3fd03d2a3ede2e6715baec
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -293,7 +293,7 @@ F test/where2.test a16476a5913e75cf65b38f2daa6157a6b7791394
 F test/where3.test 3b5ad2c58069e12be2bd86bc5e211a82810521aa
 F tool/diffdb.c 7524b1b5df217c20cd0431f6789851a4e0cb191b
 F tool/lemon.c 64aa2436ef7fcc1a6dc49bf205225a542fc05c48
-F tool/lempar.c 880cc102baa30c521498b15f6de34dc4b2d56972
+F tool/lempar.c bd4efbd36f7dab8740408479a47ae48d5ae078a7
 F tool/memleak.awk 4e7690a51bf3ed757e611273d43fe3f65b510133
 F tool/memleak2.awk 9cc20c8e8f3c675efac71ea0721ee6874a1566e8
 F tool/memleak3.tcl 7707006ee908cffff210c98158788d85bb3fcdbf
@@ -363,7 +363,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 00f3c249bc79556d0cb3999f543887bd4f160347
-R 0931417f268857ba4bba3e3f6b5bc6db
-U danielk1977
-Z 7ec75a36e0232c7c8167de06e4e6d3ac
+P 1f20e1832b38c76d2b0dde5fd720670c2ad0438b
+R 8ef7dad2768e0bc10762badb7466e9c4
+U drh
+Z 840651fccac8925fbbc23e546109f07f
index d7799386dd917c78242057f14b5627ed05f5b6ed..85c0c1957bf3c3c088095647b95d58c496d7396e 100644 (file)
@@ -1 +1 @@
-1f20e1832b38c76d2b0dde5fd720670c2ad0438b
\ No newline at end of file
+dae71de10d0f34a001b8070266d4016baafa6623
\ No newline at end of file
index c220e0ff6bf0741b26a7194860553765da07850f..0ede04a2252ad9751a55b20f17d7390720ba4799 100644 (file)
 **  yy_default[]       Default action for each state.
 */
 %%
-#define YY_SZ_ACTTAB (sizeof(yy_action)/sizeof(yy_action[0]))
+#define YY_SZ_ACTTAB (int)(sizeof(yy_action)/sizeof(yy_action[0]))
 
 /* The next table maps tokens into fallback tokens.  If a construct
 ** like the following:
@@ -321,7 +321,7 @@ void ParseFree(
 */
 static int yy_find_shift_action(
   yyParser *pParser,        /* The parser */
-  int iLookAhead            /* The look-ahead token */
+  YYCODETYPE iLookAhead     /* The look-ahead token */
 ){
   int i;
   int stateno = pParser->yystack[pParser->yyidx].stateno;
@@ -377,7 +377,7 @@ static int yy_find_shift_action(
 */
 static int yy_find_reduce_action(
   int stateno,              /* Current state number */
-  int iLookAhead            /* The look-ahead token */
+  YYCODETYPE iLookAhead     /* The look-ahead token */
 ){
   int i;
   /* int stateno = pParser->yystack[pParser->yyidx].stateno; */
@@ -468,7 +468,7 @@ static void yy_reduce(
   yymsp = &yypParser->yystack[yypParser->yyidx];
 #ifndef NDEBUG
   if( yyTraceFILE && yyruleno>=0 
-        && yyruleno<sizeof(yyRuleName)/sizeof(yyRuleName[0]) ){
+        && yyruleno<(int)(sizeof(yyRuleName)/sizeof(yyRuleName[0])) ){
     fprintf(yyTraceFILE, "%sReduce [%s].\n", yyTracePrompt,
       yyRuleName[yyruleno]);
   }