]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Apply an MSVC compilation fix from Gisle Vanem
authorNick Mathewson <nickm@torproject.org>
Wed, 13 Aug 2014 19:11:00 +0000 (15:11 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 13 Aug 2014 19:11:00 +0000 (15:11 -0400)
This fixes a double-define introduced in 28538069b2f1909a7600ec6d

changes/test.h_msvc [new file with mode: 0644]
src/test/test.h

diff --git a/changes/test.h_msvc b/changes/test.h_msvc
new file mode 100644 (file)
index 0000000..3afbc13
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (compilation):
+    - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
+      bugfix on 0.2.5.5-alpha.
index 861ce5ac3ec7c78cf21c061d88cbe0fb8461c3ad..b9e4d5bdb48ec9dab7161c22fbfac06adbf29198 100644 (file)
@@ -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