[Box Backup-dev] COMMIT r913 - box/chris/merge/test/backupdiff

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Fri Sep 1 08:50:47 BST 2006


Author: chris
Date: 2006-09-01 08:50:47 +0100 (Fri, 01 Sep 2006)
New Revision: 913

Modified:
   box/chris/merge/test/backupdiff/testbackupdiff.cpp
Log:
(refs #3)

64-bit format string fixes for Win32


Modified: box/chris/merge/test/backupdiff/testbackupdiff.cpp
===================================================================
--- box/chris/merge/test/backupdiff/testbackupdiff.cpp	2006-09-01 07:49:31 UTC (rev 912)
+++ box/chris/merge/test/backupdiff/testbackupdiff.cpp	2006-09-01 07:50:47 UTC (rev 913)
@@ -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-dev mailing list