[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev