From: Nick Mathewson Date: Thu, 5 Jul 2012 20:44:07 +0000 (-0400) Subject: Fix compilation on 32-bit. Fix for bug 6277, not in any released tor. X-Git-Tag: tor-0.2.4.1-alpha~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30783ecbb14f1df260050718621cee43bbbf208;p=thirdparty%2Ftor.git Fix compilation on 32-bit. Fix for bug 6277, not in any released tor. --- diff --git a/src/test/test_util.c b/src/test/test_util.c index 8877444da3..79573f5392 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);