]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix warnings caused by the previous commit.
authormistachkin <mistachkin@noemail.net>
Sat, 19 Jul 2014 15:30:01 +0000 (15:30 +0000)
committermistachkin <mistachkin@noemail.net>
Sat, 19 Jul 2014 15:30:01 +0000 (15:30 +0000)
FossilOrigin-Name: 89634a419d0c1ef899d0591c7c6ab9290bf665d2

manifest
manifest.uuid
tool/showdb.c
tool/showwal.c

index 685f9ad5941b7206201e4f4e4113e45f3a3e66a5..f2ee7060d6f182e7ff0db11d7c1b6b2353f09c2b 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sharmless\scompiler\swarnings\sfor\sMSVC\sin\sthe\sshowdb/showwal\scommand\sline\stools.
-D 2014-07-18T21:16:37.850
+C Fix\swarnings\scaused\sby\sthe\sprevious\scommit.
+D 2014-07-19T15:30:01.552
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 5eb79e334a5de69c87740edd56af6527dd219308
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -1160,10 +1160,10 @@ F tool/opcodeDoc.awk b3a2a3d5d3075b8bd90b7afe24283efdd586659c
 F tool/pagesig.c ff0ca355fd3c2398e933da5e22439bbff89b803b
 F tool/restore_jrnl.tcl 6957a34f8f1f0f8285e07536225ec3b292a9024a
 F tool/rollback-test.c 9fc98427d1e23e84429d7e6d07d9094fbdec65a5
-F tool/showdb.c 3c78d10af9bb7ee667ceaa271e1d1ecbcdc3e69c
+F tool/showdb.c d7d354c52f259c06d84938fc2be095656e761b78
 F tool/showjournal.c 053eb1cc774710c6890b7dd6293300cc297b16a5
 F tool/showstat4.c c39279d6bd37cb999b634f0064f6f86ad7af008f
-F tool/showwal.c 6e98bc0fe0ae75f4b08e39d21ed90d7d78d307c0
+F tool/showwal.c 9c299ba842f1ac0364e95f9effbc3a5b3b2349f2
 F tool/soak1.tcl 8d407956e1a45b485a8e072470a3e629a27037fe
 F tool/space_used.tcl f714c41a59e326b8b9042f415b628b561bafa06b
 F tool/spaceanal.tcl 8e50b217c56a6a086a1b47eac9d09c5cd65b996f
@@ -1182,10 +1182,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 2beefa68c0c53f663321bebf0ac06f6c936be63f
-R 7c81b84c85a1fee51213cddde915664f
-T *branch * toolWarnings
-T *sym-toolWarnings *
-T -sym-trunk *
+P 6dc7b2f119eb92da17c9e914bdad30a9ceaebdb5
+R 7b842e4424a0effae20a64ee9f307907
 U mistachkin
-Z 6dc51fde6dee7a6bda251af41648d319
+Z c9d7c6fd91ebbbad7eb3b3a8b17ddccd
index e189e09c490a198c5cc3f75ad3d3d955c5928c0b..9e2002f2da607b894b7849032e4663f6688b1b11 100644 (file)
@@ -1 +1 @@
-6dc7b2f119eb92da17c9e914bdad30a9ceaebdb5
\ No newline at end of file
+89634a419d0c1ef899d0591c7c6ab9290bf665d2
\ No newline at end of file
index 3324729184e1439108dc42dfd8ba79592619121f..1618bdb2fde51f33307931af9c52d0ebc9f465c3 100644 (file)
@@ -241,9 +241,9 @@ static i64 describeContent(
     }else if( x>=12 ){
       i64 size = (x-12)/2;
       if( (x&1)==0 ){
-        sprintf(zDesc, "blob(%d)", size);
+        sprintf(zDesc, "blob(%lld)", size);
       }else{
-        sprintf(zDesc, "txt(%d)", size);
+        sprintf(zDesc, "txt(%lld)", size);
       }
       pData += size;
     }
@@ -403,10 +403,10 @@ static void decodeCell(
     printBytes(a, x, i);
     nLocal = localPayload(nPayload, cType);
     if( nLocal==nPayload ){
-      printf("payload-size: %d\n", (int)nPayload);
+      printf("payload-size: %lld\n", nPayload);
     }else{
-      printf("payload-size: %d (%d local, %d overflow)\n",
-             (int)nPayload, nLocal, (int)(nPayload-nLocal));
+      printf("payload-size: %lld (%lld local, %lld overflow)\n",
+             nPayload, nLocal, nPayload-nLocal);
     }
     x += i;
   }else{
@@ -509,7 +509,7 @@ static void decodeCell(
   }
   if( j<nLocal ){
     printBytes(a, x+j, 0);
-    printf("... %d bytes of content ...\n", nLocal-j);
+    printf("... %lld bytes of content ...\n", nLocal-j);
   }
   if( nLocal<nPayload ){
     printBytes(a, x+nLocal, 4);
index b63e556c4b2bef2ee2dd8b8aaae6c646b5aa745a..8353b8dfc42b71811ecdb1c130283b8a4917e911 100644 (file)
@@ -328,9 +328,9 @@ static i64 describeContent(
     }else if( x>=12 ){
       i64 size = (x-12)/2;
       if( (x&1)==0 ){
-        sprintf(zDesc, "blob(%d)", size);
+        sprintf(zDesc, "blob(%lld)", size);
       }else{
-        sprintf(zDesc, "txt(%d)", size);
+        sprintf(zDesc, "txt(%lld)", size);
       }
       pData += size;
     }