From: drh Date: Wed, 18 Apr 2012 10:13:20 +0000 (+0000) Subject: Fix a harmless compiler warning in the mkkeywordhash.c utility program. X-Git-Tag: version-3.7.12~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a2d08e599b240d0a2875788b3617316a8717007;p=thirdparty%2Fsqlite.git Fix a harmless compiler warning in the mkkeywordhash.c utility program. FossilOrigin-Name: 6015200beb3be7ec141ce36de694278e3ba11a02 --- diff --git a/manifest b/manifest index d4dc0900b6..3fe3810d0e 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\sa\stypecast\sproblem\sin\slemon\sthat\scould\scause\sproblems\son\s64-bit\smachines. -D 2012-04-18T09:59:56.596 +C Fix\sa\sharmless\scompiler\swarning\sin\sthe\smkkeywordhash.c\sutility\sprogram. +D 2012-04-18T10:13:20.705 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 2f37e468503dbe79d35c9f6dffcf3fae1ae9ec20 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -965,7 +965,7 @@ F tool/genfkey.test 4196a8928b78f51d54ef58e99e99401ab2f0a7e5 F tool/getlock.c f4c39b651370156cae979501a7b156bdba50e7ce F tool/lemon.c 90f46af31c92b940fec25b491f39409fd95dcdfa F tool/lempar.c 01ca97f87610d1dac6d8cd96ab109ab1130e76dc -F tool/mkkeywordhash.c d2e6b4a5965e23afb80fbe74bb54648cd371f309 +F tool/mkkeywordhash.c bb52064aa614e1426445e4b2b9b00eeecd23cc79 F tool/mkopts.tcl 66ac10d240cc6e86abd37dc908d50382f84ff46e F tool/mkspeedsql.tcl a1a334d288f7adfe6e996f2e712becf076745c97 F tool/mksqlite3c-noext.tcl 105023aa86f696a74b1d6a4929d1e1c3baf9471c @@ -1000,7 +1000,7 @@ F tool/tostr.awk e75472c2f98dd76e06b8c9c1367f4ab07e122d06 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f F tool/warnings-clang.sh a8a0a3babda96dfb1ff51adda3cbbf3dfb7266c2 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381 -P 430bb59d798286a86c351de92c429345f016b3f0 -R 113ef85b9c52f3c834e9782e53798156 +P 4a5641cc0aa4c49762f4fe73dab4a6612631c0d2 +R 9331d8fd78cc0caf6b6610e6acb41aab U drh -Z ce1db25d2f193d39fb492e3f8624ae7b +Z a487d3c4edeae5b06a7f847c65e40582 diff --git a/manifest.uuid b/manifest.uuid index 82b3f8f616..b3be873e6b 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -4a5641cc0aa4c49762f4fe73dab4a6612631c0d2 \ No newline at end of file +6015200beb3be7ec141ce36de694278e3ba11a02 \ No newline at end of file diff --git a/tool/mkkeywordhash.c b/tool/mkkeywordhash.c index 509aeef9ea..4e5ba8f1a8 100644 --- a/tool/mkkeywordhash.c +++ b/tool/mkkeywordhash.c @@ -360,7 +360,7 @@ int main(int argc, char **argv){ /* Fill in the lengths of strings and hashes for all entries. */ for(i=0; ilen = strlen(p->zName); + p->len = (int)strlen(p->zName); assert( p->lenzOrigName) ); strcpy(p->zOrigName, p->zName); totalLen += p->len;