diff options
Diffstat (limited to 'test/unit/prof_idump.c')
| -rwxr-xr-x[-rw-r--r--] | test/unit/prof_idump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/prof_idump.c b/test/unit/prof_idump.c index bdea53e..16c6462 100644..100755 --- a/test/unit/prof_idump.c +++ b/test/unit/prof_idump.c @@ -29,8 +29,9 @@ TEST_BEGIN(test_idump) test_skip_if(!config_prof); active = true; - assert_d_eq(mallctl("prof.active", NULL, NULL, &active, sizeof(active)), - 0, "Unexpected mallctl failure while activating profiling"); + assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active, + sizeof(active)), 0, + "Unexpected mallctl failure while activating profiling"); prof_dump_open = prof_dump_open_intercept; |
