Skip to content

Commit

Permalink
NULL -> nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenmeker committed Oct 21, 2024
1 parent 3566b84 commit 234de94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/alloc/arena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static void *megabyte_malloc() {
//
size_t request = HYPERBLOCK_SIZE;
void *addr = mmap(
NULL, // let OS choose the address
nullptr, // let OS choose the address
request, // Linux and MacOS both allow up to 64TB
PROT_READ | PROT_WRITE, // read, write but not execute
MAP_ANONYMOUS | MAP_PRIVATE
Expand Down

0 comments on commit 234de94

Please sign in to comment.