]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compilation on 32-bit. Fix for bug 6277, not in any released tor.
authorNick Mathewson <nickm@torproject.org>
Thu, 5 Jul 2012 20:44:07 +0000 (16:44 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 5 Jul 2012 20:44:07 +0000 (16:44 -0400)
src/test/test_util.c

index 8877444da3ccf7f7f540758d21978d1d7f0a2479..79573f539270566bfc6cab693a293308ea7988ff 100644 (file)
@@ -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);