]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Portability: Make strict compilers happier with rev.13860
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 19 Jan 2015 03:01:59 +0000 (19:01 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 19 Jan 2015 03:01:59 +0000 (19:01 -0800)
src/cache_cf.cc

index 39f82accdc5407828c5d9fbb0214d985be1b4d7c..9fda772104d9edc388a062edee2a91064ac48b6f 100644 (file)
@@ -4268,7 +4268,7 @@ dump_access_log(StoreEntry * entry, const char *name, CustomLog * logs)
 
         // default: 64KB
         if (log->bufferSize != 64*1024)
-            storeAppendPrintf(entry, " buffer-size=%d", log->bufferSize);
+            storeAppendPrintf(entry, " buffer-size=%" PRIuSIZE, log->bufferSize);
 
         if (log->rotateCount >= 0)
             storeAppendPrintf(entry, " rotate=%d", log->rotateCount);