Fix test_stats_arenas_bins for 32-bit builds.

This commit is contained in:
Yuriy Kaminskiy 2014-12-02 16:24:11 -08:00 committed by Jason Evans
parent 879e76a9e5
commit f79e01f75b

View File

@ -327,6 +327,7 @@ TEST_BEGIN(test_stats_arenas_bins)
assert_d_eq(mallctl("stats.arenas.0.bins.0.curregs", &curregs, &sz, assert_d_eq(mallctl("stats.arenas.0.bins.0.curregs", &curregs, &sz,
NULL, 0), expected, "Unexpected mallctl() result"); NULL, 0), expected, "Unexpected mallctl() result");
sz = sizeof(uint64_t);
assert_d_eq(mallctl("stats.arenas.0.bins.0.nfills", &nfills, &sz, assert_d_eq(mallctl("stats.arenas.0.bins.0.nfills", &nfills, &sz,
NULL, 0), config_tcache ? expected : ENOENT, NULL, 0), config_tcache ? expected : ENOENT,
"Unexpected mallctl() result"); "Unexpected mallctl() result");