]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
64-bit compatibility
authorhno <>
Tue, 24 Jan 2006 22:42:27 +0000 (22:42 +0000)
committerhno <>
Tue, 24 Jan 2006 22:42:27 +0000 (22:42 +0000)
src/cbdata.cc

index 70123679b158bdaf7e8d86f5e494e2bae86b16a4..852f0135346031e88df92b290dbdffe7008007d4 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cbdata.cc,v 1.68 2006/01/03 17:22:30 wessels Exp $
+ * $Id: cbdata.cc,v 1.69 2006/01/24 15:42:27 hno Exp $
  *
  * DEBUG: section 45    Callback Data Registry
  * ORIGINAL AUTHOR: Duane Wessels
@@ -517,7 +517,7 @@ cbdataDump(StoreEntry * sentry)
 
         if (pool) {
             int obj_size = pool->objectSize() - cbdata::Offset;
-            storeAppendPrintf(sentry, "%s\t%d\t%d\t%d\n", pool->objectType() + 7, obj_size, pool->getMeter().inuse.level, obj_size * pool->getMeter().inuse.level);
+            storeAppendPrintf(sentry, "%s\t%d\t%ld\t%ld\n", pool->objectType() + 7, obj_size, (long int)pool->getMeter().inuse.level, (long int)obj_size * pool->getMeter().inuse.level);
         }
     }