Try to fix memarea test on 32-bit systems

This commit is contained in:
Nick Mathewson 2016-06-16 11:59:51 -04:00
parent 5c596cdbc0
commit 6ceb37971e

View File

@ -2876,7 +2876,7 @@ test_util_memarea(void *arg)
memarea_get_stats(area, &initial_allocation, &dummy);
/* Check for running over an area's size. */
for (i = 0; i < 512; ++i) {
for (i = 0; i < 4096; ++i) {
size_t n = crypto_rand_int(6);
p1 = memarea_alloc(area, n);
total += n;