[Box Backup-dev] COMMIT r614 - box/chris/general/lib/backupclient

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Mon Jun 5 14:03:38 BST 2006


Author: chris
Date: 2006-06-05 13:03:34 +0000 (Mon, 05 Jun 2006)
New Revision: 614

Modified:
   box/chris/general/lib/backupclient/BackupStoreObjectDump.cpp
Log:
* BackupStoreObjectDump.cpp
- Fixed 64-bit format strings on Win32


Modified: box/chris/general/lib/backupclient/BackupStoreObjectDump.cpp
===================================================================
--- box/chris/general/lib/backupclient/BackupStoreObjectDump.cpp	2006-06-05 13:03:00 UTC (rev 613)
+++ box/chris/general/lib/backupclient/BackupStoreObjectDump.cpp	2006-06-05 13:03:34 UTC (rev 614)
@@ -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