From: Nick Mathewson Date: Wed, 7 Oct 2015 18:31:21 +0000 (-0400) Subject: Fix 32-bit case of rend_cache/entry_allocation X-Git-Tag: tor-0.2.8.1-alpha~312 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aeb9373158df00d77d26245c7524db3d5f1e515c;p=thirdparty%2Ftor.git Fix 32-bit case of rend_cache/entry_allocation --- 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;