[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Apply an MSVC compilation fix from Gisle Vanem
commit 789c8d8573b9969acd808bb19d211d4ae9ac3be4
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Aug 13 15:11:00 2014 -0400
Apply an MSVC compilation fix from Gisle Vanem
This fixes a double-define introduced in 28538069b2f1909a7600ec6d
---
changes/test.h_msvc | 3 +++
src/test/test.h | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/changes/test.h_msvc b/changes/test.h_msvc
new file mode 100644
index 0000000..3afbc13
--- /dev/null
+++ b/changes/test.h_msvc
@@ -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.
diff --git a/src/test/test.h b/src/test/test.h
index 861ce5a..b9e4d5b 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits