diff options
Diffstat (limited to 'src/common.cpp')
| -rw-r--r-- | src/common.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common.cpp b/src/common.cpp index 1a9a4e363..82a1685c4 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -40,13 +40,13 @@ GB_ALLOCATOR_PROC(heap_allocator_proc); gbAllocator heap_allocator(void) { gbAllocator a; a.proc = heap_allocator_proc; - a.data = NULL; + a.data = nullptr; return a; } GB_ALLOCATOR_PROC(heap_allocator_proc) { - void *ptr = NULL; + void *ptr = nullptr; gb_unused(allocator_data); gb_unused(old_size); @@ -348,7 +348,7 @@ void *pool_alloc(Pool *pool, isize size, isize align) { } GB_ALLOCATOR_PROC(pool_allocator_proc) { - void *ptr = NULL; + void *ptr = nullptr; Pool *pool = cast(Pool *)allocator_data; |