[Box Backup-commit] COMMIT r998 - box/trunk/test/backupdiff

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Oct 12 23:19:45 BST 2006


Author: chris
Date: 2006-10-12 23:19:45 +0100 (Thu, 12 Oct 2006)
New Revision: 998

Modified:
   box/trunk/test/backupdiff/testbackupdiff.cpp
Log:
 * 64-bit format string fixes for Win32


Modified: box/trunk/test/backupdiff/testbackupdiff.cpp
===================================================================
--- box/trunk/test/backupdiff/testbackupdiff.cpp	2006-10-12 22:19:22 UTC (rev 997)
+++ box/trunk/test/backupdiff/testbackupdiff.cpp	2006-10-12 22:19:45 UTC (rev 998)
@@ -116,12 +116,20 @@
 		if(s > 0)
 		{
 			nnew++;
+			#ifdef WIN32
+			TRACE2("%8I64d this  s=%8I64d", b, s);
+			#else
 			TRACE2("%8lld this  s=%8lld", b, s);
+			#endif
 		}
 		else
 		{
 			nold++;
+			#ifdef WIN32
+			TRACE2("%8I64d other i=%8I64d", b, 0 - s);		
+			#else
 			TRACE2("%8lld other i=%8lld", b, 0 - s);		
+			#endif
 		}
 		// Decode the rest
 		uint64_t iv = box_ntoh64(hdr.mEntryIVBase);




More information about the Boxbackup-commit mailing list