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) }