aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-07-05 16:44:07 -0400
committerNick Mathewson <nickm@torproject.org>2012-07-05 16:44:07 -0400
commitd30783ecbb14f1df260050718621cee43bbbf208 (patch)
tree54d56d93fc8ec389bda7fe22bf8ce015b8a18d2c /src
parent7e8d7a017e130cc7855aa508e8a37321438b6e52 (diff)
downloadtor-d30783ecbb14f1df260050718621cee43bbbf208.tar
tor-d30783ecbb14f1df260050718621cee43bbbf208.tar.gz
Fix compilation on 32-bit. Fix for bug 6277, not in any released tor.
Diffstat (limited to 'src')
-rw-r--r--src/test/test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 8877444da..79573f539 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);