We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f63ef commit 369ced8Copy full SHA for 369ced8
src/gc-pages.c
@@ -99,7 +99,7 @@ NOINLINE jl_gc_pagemeta_t *jl_gc_alloc_page(void) JL_NOTSAFEPOINT
99
void jl_gc_free_page(jl_gc_pagemeta_t *pg) JL_NOTSAFEPOINT
100
{
101
void *p = pg->data;
102
- gc_alloc_map_set(p, 0);
+ gc_alloc_map_set((char*)p, 0);
103
// tell the OS we don't need these pages right now
104
size_t decommit_size = GC_PAGE_SZ;
105
if (GC_PAGE_SZ < jl_page_size) {
0 commit comments