summaryrefslogtreecommitdiffstats
path: root/test/unit/stats.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-04-12 19:39:02 (GMT)
committerJason Evans <jasone@canonware.com>2016-04-12 19:39:02 (GMT)
commitbab58ef401b0dec8230bd2d371e135009cd06924 (patch)
tree2ef90d971a94b8a1d9711ff0e4154d47ce4e78d4 /test/unit/stats.c
parent00432331b83526e3bb82f7c2aba493bf254cb9c0 (diff)
downloadjemalloc-bab58ef401b0dec8230bd2d371e135009cd06924.zip
jemalloc-bab58ef401b0dec8230bd2d371e135009cd06924.tar.gz
jemalloc-bab58ef401b0dec8230bd2d371e135009cd06924.tar.bz2
Fix more 64-to-32 conversion warnings.
Diffstat (limited to 'test/unit/stats.c')
-rw-r--r--test/unit/stats.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/stats.c b/test/unit/stats.c
index 6e80316..a9a3981 100644
--- a/test/unit/stats.c
+++ b/test/unit/stats.c
@@ -220,11 +220,11 @@ TEST_BEGIN(test_stats_arenas_large)
if (config_stats) {
assert_zu_gt(allocated, 0,
"allocated should be greater than zero");
- assert_zu_gt(nmalloc, 0,
+ assert_u64_gt(nmalloc, 0,
"nmalloc should be greater than zero");
- assert_zu_ge(nmalloc, ndalloc,
+ assert_u64_ge(nmalloc, ndalloc,
"nmalloc should be at least as large as ndalloc");
- assert_zu_gt(nrequests, 0,
+ assert_u64_gt(nrequests, 0,
"nrequests should be greater than zero");
}
@@ -262,9 +262,9 @@ TEST_BEGIN(test_stats_arenas_huge)
if (config_stats) {
assert_zu_gt(allocated, 0,
"allocated should be greater than zero");
- assert_zu_gt(nmalloc, 0,
+ assert_u64_gt(nmalloc, 0,
"nmalloc should be greater than zero");
- assert_zu_ge(nmalloc, ndalloc,
+ assert_u64_ge(nmalloc, ndalloc,
"nmalloc should be at least as large as ndalloc");
}