summaryrefslogtreecommitdiff
path: root/lib/backupclient
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-08-31 22:18:02 +0000
committerChris Wilson <chris+github@qwirx.com>2006-08-31 22:18:02 +0000
commit76f120d7ec171c3e0b88bc1fe317a4b0dacf19a5 (patch)
tree1fd2a8726bf1f1daa7de701e1cadaef195658760 /lib/backupclient
parentc3e3f974e26957a674729f761e27534c0db2b9d0 (diff)
* lib/backupclient/BackupStoreObjectDump.cpp
Fix format strings on Win32 (refs #3)
Diffstat (limited to 'lib/backupclient')
-rw-r--r--lib/backupclient/BackupStoreObjectDump.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/backupclient/BackupStoreObjectDump.cpp b/lib/backupclient/BackupStoreObjectDump.cpp
index b4ccc731..d3d9cc17 100644
--- a/lib/backupclient/BackupStoreObjectDump.cpp
+++ b/lib/backupclient/BackupStoreObjectDump.cpp
@@ -113,7 +113,13 @@ void BackupStoreDirectory::Dump(void *clibFileHandle, bool ToTrace)
// Output item
int16_t f = (*i)->GetFlags();
- OutputLine(file, ToTrace, "%06llx %4lld %016llx %4d %3d %4d%s%s%s%s%s%s\n",
+#ifdef WIN32
+ OutputLine(file, ToTrace,
+ "%06I64x %4I64d %016I64x %4d %3d %4d%s%s%s%s%s%s\n",
+#else
+ OutputLine(file, ToTrace,
+ "%06llx %4lld %016llx %4d %3d %4d%s%s%s%s%s%s\n",
+#endif
(*i)->GetObjectID(),
(*i)->GetSizeInBlocks(),
(*i)->GetAttributesHash(),