commit d30783ecbb14f1df260050718621cee43bbbf208 Author: Nick Mathewson nickm@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);
tor-commits@lists.torproject.org