[Box Backup-commit] COMMIT r1107 - box/trunk/test/backupstorepatch

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Fri Oct 27 20:01:11 BST 2006


Author: chris
Date: 2006-10-27 20:01:10 +0100 (Fri, 27 Oct 2006)
New Revision: 1107

Modified:
   box/trunk/test/backupstorepatch/testbackupstorepatch.cpp
Log:
Fix format strings on Win32.


Modified: box/trunk/test/backupstorepatch/testbackupstorepatch.cpp
===================================================================
--- box/trunk/test/backupstorepatch/testbackupstorepatch.cpp	2006-10-27 19:00:30 UTC (rev 1106)
+++ box/trunk/test/backupstorepatch/testbackupstorepatch.cpp	2006-10-27 19:01:10 UTC (rev 1107)
@@ -405,7 +405,13 @@
 					// Store details
 					test_files[f].IDOnServer = stored->GetObjectID();
 					test_files[f].IsCompletelyDifferent = isCompletelyDifferent;
-					printf("ID %lld, completely different: %s\n", test_files[f].IDOnServer,
+
+#ifdef WIN32
+					printf("ID %I64d, completely different: %s\n",
+#else
+					printf("ID %lld, completely different: %s\n", 
+#endif
+						test_files[f].IDOnServer,
 						test_files[f].IsCompletelyDifferent?"yes":"no");			
 				}
 				else




More information about the Boxbackup-commit mailing list