mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix compilation on 32-bit. Fix for bug 6277, not in any released tor.
This commit is contained in:
parent
7e8d7a017e
commit
d30783ecbb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user