From 5cf473b31cc1a405e11ac37e135251760b0814d1 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 22 Sep 2022 15:19:24 +0100 Subject: [PATCH] Fix typo --- core/mem/alloc.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mem/alloc.odin b/core/mem/alloc.odin index 76971bf45..551906bed 100644 --- a/core/mem/alloc.odin +++ b/core/mem/alloc.odin @@ -69,7 +69,7 @@ alloc_bytes :: proc(size: int, alignment: int = DEFAULT_ALIGNMENT, allocator := return runtime.mem_alloc(size, alignment, allocator, loc) } -alloc_bytes_non_zerored :: proc(size: int, alignment: int = DEFAULT_ALIGNMENT, allocator := context.allocator, loc := #caller_location) -> ([]byte, Allocator_Error) { +alloc_bytes_non_zeroed :: proc(size: int, alignment: int = DEFAULT_ALIGNMENT, allocator := context.allocator, loc := #caller_location) -> ([]byte, Allocator_Error) { return runtime.mem_alloc_non_zeroed(size, alignment, allocator, loc) }