aboutsummaryrefslogtreecommitdiff
path: root/src/common_memory.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-09-08 14:55:07 +0100
committergingerBill <bill@gingerbill.org>2021-09-08 14:55:07 +0100
commit123db3a23de0d37f2cd6a748df3c22c909ccfc0d (patch)
tree78ef471ffe349f0f724a61e0ab19c18720b2b894 /src/common_memory.cpp
parentd29a0c6680d421a785ea8d00025060f2a8712d29 (diff)
Fix typo
Diffstat (limited to 'src/common_memory.cpp')
-rw-r--r--src/common_memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common_memory.cpp b/src/common_memory.cpp
index 115c58942..4d9811b4a 100644
--- a/src/common_memory.cpp
+++ b/src/common_memory.cpp
@@ -379,7 +379,7 @@ GB_ALLOCATOR_PROC(heap_allocator_proc) {
ptr = aligned_alloc(alignment, (size + alignment - 1) & ~(alignment - 1));
gb_memmove(ptr, old_memory, old_size);
free(old_memory);
- gb_zero_size(cast(u8 *)ptr + old_size, gb_max(size-old_size, 0););
+ gb_zero_size(cast(u8 *)ptr + old_size, gb_max(size-old_size, 0));
break;
#else
// TODO(bill): *nix version that's decent