summaryrefslogtreecommitdiffstats
path: root/test/unit/mallctl.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2016-02-24 19:03:40 (GMT)
committerJason Evans <je@fb.com>2016-02-24 21:03:48 (GMT)
commit8f683b94a751c65af8f9fa25970ccf2917b96bb8 (patch)
treeb1478482428322b8fd9b3aef7c6e0b845c22cc69 /test/unit/mallctl.c
parent603b3bd413d670909811ce49d28a8b0a4ae3ba6b (diff)
downloadjemalloc-8f683b94a751c65af8f9fa25970ccf2917b96bb8.zip
jemalloc-8f683b94a751c65af8f9fa25970ccf2917b96bb8.tar.gz
jemalloc-8f683b94a751c65af8f9fa25970ccf2917b96bb8.tar.bz2
Make opt_narenas unsigned rather than size_t.
Diffstat (limited to 'test/unit/mallctl.c')
-rw-r--r--test/unit/mallctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/mallctl.c b/test/unit/mallctl.c
index e8dc492..0133351 100644
--- a/test/unit/mallctl.c
+++ b/test/unit/mallctl.c
@@ -163,7 +163,7 @@ TEST_BEGIN(test_mallctl_opt)
TEST_MALLCTL_OPT(bool, abort, always);
TEST_MALLCTL_OPT(size_t, lg_chunk, always);
TEST_MALLCTL_OPT(const char *, dss, always);
- TEST_MALLCTL_OPT(size_t, narenas, always);
+ TEST_MALLCTL_OPT(unsigned, narenas, always);
TEST_MALLCTL_OPT(const char *, purge, always);
TEST_MALLCTL_OPT(ssize_t, lg_dirty_mult, always);
TEST_MALLCTL_OPT(ssize_t, decay_time, always);