소스 검색

Fix 32-bit case of rend_cache/entry_allocation

Nick Mathewson 8 년 전
부모
커밋
aeb9373158
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/test/test_rendcache.c

+ 1 - 1
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;