diff options
Diffstat (limited to 'src/memory.cc')
| -rw-r--r-- | src/memory.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memory.cc b/src/memory.cc index 27504f0..c27c6f3 100644 --- a/src/memory.cc +++ b/src/memory.cc @@ -24,7 +24,7 @@ void deallocate(Allocator* allocator, u8* ptr) { static inline u8* heap_allocate(u8* self, usize size, usize align) { (void)self; - return (u8*)aligned_alloc(size, align); + return (u8*)aligned_alloc(align, size); } static inline void heap_deallocate(u8* self, u8* ptr) { |
