Skip to content

Commit

Permalink
fix warning about casting
Browse files Browse the repository at this point in the history
  • Loading branch information
d-netto committed Jun 14, 2023
1 parent 9712402 commit b01d688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc-pages.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ NOINLINE jl_gc_pagemeta_t *jl_gc_alloc_page(void) JL_NOTSAFEPOINT
void jl_gc_free_page(jl_gc_pagemeta_t *pg) JL_NOTSAFEPOINT
{
void *p = pg->data;
gc_alloc_map_set(p, 0);
gc_alloc_map_set((char*)p, 0);
// tell the OS we don't need these pages right now
size_t decommit_size = GC_PAGE_SZ;
if (GC_PAGE_SZ < jl_page_size) {
Expand Down

0 comments on commit b01d688

Please sign in to comment.