[tor-commits] [tor/master] Fix compilation on 32-bit. Fix for bug 6277, not in any released tor.

nickm at torproject.org nickm at torproject.org
Thu Jul 5 20:49:43 UTC 2012


commit d30783ecbb14f1df260050718621cee43bbbf208
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jul 5 16:44:07 2012 -0400

    Fix compilation on 32-bit. Fix for bug 6277, not in any released tor.
---
 src/test/test_util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/test/test_util.c b/src/test/test_util.c
index 8877444..79573f5 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1643,7 +1643,7 @@ test_util_sscanf(void)
 #endif
 
 #if SIZEOF_LONG == 4
-  r = tor_sscanf("-2147483648. 2147483647.", "%ld. %ld.", &lng1, &lng2)
+  r = tor_sscanf("-2147483648. 2147483647.", "%ld. %ld.", &lng1, &lng2);
   test_eq(r,2);
   test_eq(lng1, -2147483647 - 1);
   test_eq(lng2, 2147483647);



More information about the tor-commits mailing list