diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-05-08 14:01:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-05-08 14:01:17 -0400 |
commit | 28538069b2f1909a7600ec6d25f8efb78be496fd (patch) | |
tree | c6f935a3dd34c0604d6219e792ede4c691b29f76 /src/test/test_extorport.c | |
parent | df684789380a51c9de14120160adfb796d891436 (diff) | |
download | tor-28538069b2f1909a7600ec6d25f8efb78be496fd.tar.gz tor-28538069b2f1909a7600ec6d25f8efb78be496fd.zip |
Fix numerous 64->32 errors in the unit tests
Before the 11825 fix, these were all silently ignored.
Diffstat (limited to 'src/test/test_extorport.c')
-rw-r--r-- | src/test/test_extorport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c index 64ed24eeeb..93c8f77d5b 100644 --- a/src/test/test_extorport.c +++ b/src/test/test_extorport.c @@ -202,7 +202,7 @@ test_ext_or_init_auth(void *arg) tt_int_op(ext_or_auth_cookie_is_set, ==, 1); cp = read_file_to_str(fn, RFTS_BIN, &st); tt_ptr_op(cp, !=, NULL); - tt_int_op(st.st_size, ==, 64); + tt_u64_op((uint64_t)st.st_size, ==, 64); test_memeq(cp, "! Extended ORPort Auth Cookie !\x0a", 32); test_memeq(cp+32, ext_or_auth_cookie, 32); memcpy(cookie0, ext_or_auth_cookie, 32); |