commit 0fed324c2c3862b1911a1add352f45c9a21f7a47 Author: Nick Mathewson nickm@torproject.org Date: Fri Nov 4 15:47:28 2016 -0400
Would you believe me if I said there were more 32-bit and clang warnings? --- src/test/test_hs_cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c index 3458191..e7deec2 100644 --- a/src/test/test_hs_cache.c +++ b/src/test/test_hs_cache.c @@ -132,7 +132,7 @@ test_directory(void *arg) { int ret; size_t oom_size; - char *desc1_str; + char *desc1_str=NULL; const char *desc_out; hs_descriptor_t *desc1;
@@ -434,7 +434,7 @@ test_hsdir_revision_counter_check(void *arg) tt_assert(received_desc);
/* Check that the revision counter is correct */ - tt_int_op(received_desc->plaintext_data.revision_counter, ==, 1312); + tt_u64_op(received_desc->plaintext_data.revision_counter, ==, 1312);
hs_descriptor_free(received_desc); received_desc = NULL; @@ -465,7 +465,7 @@ test_hsdir_revision_counter_check(void *arg) tt_assert(received_desc);
/* Check that the revision counter is the latest */ - tt_int_op(received_desc->plaintext_data.revision_counter, ==, 1313); + tt_u64_op(received_desc->plaintext_data.revision_counter, ==, 1313); }
done:
tor-commits@lists.torproject.org