mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-31 23:48:19 +03:00
Fix const qualifier warnings.
This commit is contained in:
parent
d3e0976a2c
commit
cf2f4aac1c
2 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ TEST_BEGIN(test_alignment_and_size) {
|
|||
const char *percpu_arena;
|
||||
size_t sz = sizeof(percpu_arena);
|
||||
|
||||
if(mallctl("opt.percpu_arena", &percpu_arena, &sz, NULL, 0) ||
|
||||
if(mallctl("opt.percpu_arena", (void *)&percpu_arena, &sz, NULL, 0) ||
|
||||
strcmp(percpu_arena, "disabled") != 0) {
|
||||
test_skip("test_alignment_and_size skipped: "
|
||||
"not working with percpu arena.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue