aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_rendcache.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-07 14:31:21 -0400
committerNick Mathewson <nickm@torproject.org>2015-10-07 14:31:21 -0400
commitaeb9373158df00d77d26245c7524db3d5f1e515c (patch)
tree1860fe54145dfb3f24a3d895f246e0b69ddf2cdd /src/test/test_rendcache.c
parentb23a0465f107dee0a78b544536396f09fa89ab27 (diff)
downloadtor-aeb9373158df00d77d26245c7524db3d5f1e515c.tar.gz
tor-aeb9373158df00d77d26245c7524db3d5f1e515c.zip
Fix 32-bit case of rend_cache/entry_allocation
Diffstat (limited to 'src/test/test_rendcache.c')
-rw-r--r--src/test/test_rendcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c
index 6075d394a9..01eeecb21b 100644
--- a/src/test/test_rendcache.c
+++ b/src/test/test_rendcache.c
@@ -1138,7 +1138,7 @@ test_rend_cache_entry_allocation(void *data)
// Handles a non-null argument
e = tor_malloc_zero(sizeof(rend_cache_entry_t));
ret = rend_cache_entry_allocation(e);
- tt_int_op(ret, OP_EQ, 88);
+ tt_int_op(ret, OP_GT, sizeof(rend_cache_entry_t));
done:
(void)0;