]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix a harmless compiler warning in zipfile.c
authordrh <drh@noemail.net>
Wed, 10 Jan 2018 19:50:40 +0000 (19:50 +0000)
committerdrh <drh@noemail.net>
Wed, 10 Jan 2018 19:50:40 +0000 (19:50 +0000)
FossilOrigin-Name: 60c694c1ab26a7a096f17ccea5a93ecda0f9f2113ab5fdc8b17dbffc787724fc

ext/misc/zipfile.c
manifest
manifest.uuid

index 6785c9610c3ae49f09a4a87553d31a59a991f3d4..1a65a8896b409f93879285913a37100374b50dd7 100644 (file)
@@ -1194,7 +1194,7 @@ static int zipfileGetMode(
 ** nB is the value of strlen(zB). This function returns 0 if the strings are
 ** identical, ignoring any trailing '/' character in either path.  */
 static int zipfileComparePath(const char *zA, const char *zB, int nB){
-  int nA = strlen(zA);
+  int nA = (int)strlen(zA);
   if( zA[nA-1]=='/' ) nA--;
   if( zB[nB-1]=='/' ) nB--;
   if( nA==nB && memcmp(zA, zB, nA)==0 ) return 0;
@@ -1525,4 +1525,3 @@ int sqlite3_zipfile_init(
   (void)pzErrMsg;  /* Unused parameter */
   return zipfileRegister(db);
 }
-
index 612fc85322b856711a37ffa1664b159f252534bc..63c68f6f7e843e6f30bdcdbb33bd37fb3a194353 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Include\sRTREE\sin\sthe\sdefault\sCLI\sbuild.
-D 2018-01-10T19:15:21.479
+C Fix\sa\sharmless\scompiler\swarning\sin\szipfile.c
+D 2018-01-10T19:50:40.811
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F Makefile.in 38f84f301cbef443b2d269f67a74b8cc536469831f70df7c3e912acc04932cc2
@@ -303,7 +303,7 @@ F ext/misc/vfsstat.c bf10ef0bc51e1ad6756629e1edb142f7a8db1178
 F ext/misc/vtablog.c 31d0d8f4406795679dcd3a67917c213d3a2a5fb3ea5de35f6e773491ed7e13c9
 F ext/misc/vtshim.c 1976e6dd68dd0d64508c91a6dfab8e75f8aaf6cd
 F ext/misc/wholenumber.c 784b12543d60702ebdd47da936e278aa03076212
-F ext/misc/zipfile.c 00d78e61f0b0a7f51a4d5ffef302ef840336f09d75a97a8e0be1fabf048511b8
+F ext/misc/zipfile.c 0d12ad852af1732c9a4bd0be9f28886b049e0591a871e3246a5347d2cea15430
 F ext/rbu/rbu.c ea7d1b7eb44c123a2a619332e19fe5313500705c4a58aaa1887905c0d83ffc2e
 F ext/rbu/rbu1.test 43836fac8c7179a358eaf38a8a1ef3d6e6285842
 F ext/rbu/rbu10.test 1846519a438697f45e9dcb246908af81b551c29e1078d0304fae83f1fed7e9ee
@@ -1697,7 +1697,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P 58e3b07cc8cb5cc915f7d430483bd455b03f14120e0db23286d2e20dbb5391c5
-R 2e662e06c18ea15ed95bfe93585d99c1
+P 6a6a3d495633b906ca31f513c30d31e6daf0f0f105be9ba0a0dc07d201d5b630
+R 47ef8e39d746f78565d92ddee819e4f1
 U drh
-Z 73fb00a74c3f6ec900cd40e3e36e7246
+Z 8e9572c27b3beeb784a18b126ea860dc
index 3fcaee05db3143795749ea95c8e42ce32e611c82..12625a7794f3473e9169142cb5dea40c68dd7dfe 100644 (file)
@@ -1 +1 @@
-6a6a3d495633b906ca31f513c30d31e6daf0f0f105be9ba0a0dc07d201d5b630
\ No newline at end of file
+60c694c1ab26a7a096f17ccea5a93ecda0f9f2113ab5fdc8b17dbffc787724fc
\ No newline at end of file