[Box Backup-dev] COMMIT r879 - box/chris/merge/lib/backupclient
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Thu Aug 31 23:18:02 BST 2006
Author: chris
Date: 2006-08-31 23:18:02 +0100 (Thu, 31 Aug 2006)
New Revision: 879
Modified:
box/chris/merge/lib/backupclient/BackupStoreObjectDump.cpp
Log:
* lib/backupclient/BackupStoreObjectDump.cpp
Fix format strings on Win32 (refs #3)
Modified: box/chris/merge/lib/backupclient/BackupStoreObjectDump.cpp
===================================================================
--- box/chris/merge/lib/backupclient/BackupStoreObjectDump.cpp 2006-08-31 22:17:12 UTC (rev 878)
+++ box/chris/merge/lib/backupclient/BackupStoreObjectDump.cpp 2006-08-31 22:18:02 UTC (rev 879)
@@ -113,7 +113,13 @@
// 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(),
More information about the Boxbackup-dev
mailing list