[Box Backup-commit] COMMIT r982 - box/trunk/lib/backupclient

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Oct 12 21:52:16 BST 2006


Author: chris
Date: 2006-10-12 21:52:16 +0100 (Thu, 12 Oct 2006)
New Revision: 982

Modified:
   box/trunk/lib/backupclient/BackupStoreObjectDump.cpp
Log:
 * Fix format strings on Win32


Modified: box/trunk/lib/backupclient/BackupStoreObjectDump.cpp
===================================================================
--- box/trunk/lib/backupclient/BackupStoreObjectDump.cpp	2006-10-12 20:51:06 UTC (rev 981)
+++ box/trunk/lib/backupclient/BackupStoreObjectDump.cpp	2006-10-12 20:52:16 UTC (rev 982)
@@ -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-commit mailing list