[tor-dev] [Patch] src/test/test.h

Gisle Vanem gvanem at yahoo.no
Wed Aug 13 14:47:46 UTC 2014


The 'U64_PRINTF_TYPE' is defined twice for MSVC.
An 'I64_PRINTF_TYPE'  is needed too:

--- orig/src/test/test.h 2014-05-13 23:24:22 +0000
+++ src/test/test.h     2014-05-13 23:26:51 +0000
@@ -61,7 +61,7 @@

 #ifdef _MSC_VER
 #define U64_PRINTF_TYPE uint64_t
-#define U64_PRINTF_TYPE int64_t
+#define I64_PRINTF_TYPE int64_t
 #else
 #define U64_PRINTF_TYPE unsigned long long
 #define I64_PRINTF_TYPE long long


--gv


More information about the tor-dev mailing list