summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-09-01 07:50:47 +0000
committerChris Wilson <chris+github@qwirx.com>2006-09-01 07:50:47 +0000
commitc72f7fdb37891d32a75c91348e8cd4f50da661f0 (patch)
tree40f7be0ac109f668150a10c265110451dae89dfd
parent9d1c5b2aa1adceffbb21e6fc93d477d5874af9a4 (diff)
(refs #3)
64-bit format string fixes for Win32
-rw-r--r--test/backupdiff/testbackupdiff.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/backupdiff/testbackupdiff.cpp b/test/backupdiff/testbackupdiff.cpp
index 6520907e..b000e88d 100644
--- a/test/backupdiff/testbackupdiff.cpp
+++ b/test/backupdiff/testbackupdiff.cpp
@@ -116,12 +116,20 @@ void check_encoded_file(const char *filename, int64_t OtherFileID, int new_block
if(s > 0)
{
nnew++;
+ #ifdef WIN32
+ TRACE2("%8I64d this s=%8I64d", b, s);
+ #else
TRACE2("%8lld this s=%8lld", b, s);
+ #endif
}
else
{
nold++;
+ #ifdef WIN32
+ TRACE2("%8I64d other i=%8I64d", b, 0 - s);
+ #else
TRACE2("%8lld other i=%8lld", b, 0 - s);
+ #endif
}
// Decode the rest
uint64_t iv = box_ntoh64(hdr.mEntryIVBase);