aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_cache.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-04 15:47:28 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-04 15:47:28 -0400
commit0fed324c2c3862b1911a1add352f45c9a21f7a47 (patch)
treee3cb37ff2e664b88b1da4277bac2c006e283979e /src/test/test_hs_cache.c
parentf45a581486197fb71c166f130b9b4cb0ad42ceff (diff)
downloadtor-0fed324c2c3862b1911a1add352f45c9a21f7a47.tar.gz
tor-0fed324c2c3862b1911a1add352f45c9a21f7a47.zip
Would you believe me if I said there were more 32-bit and clang warnings?
Diffstat (limited to 'src/test/test_hs_cache.c')
-rw-r--r--src/test/test_hs_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c
index 3458191e46..e7deec2e22 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: