From b0a09f7b9e17825ed45e212108c464e6d6d4bca3 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 31 Aug 2022 11:02:36 +0100 Subject: [PATCH] Fix typo --- core/mem/virtual/growing_arena.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mem/virtual/growing_arena.odin b/core/mem/virtual/growing_arena.odin index f1067071b..ee3220cfa 100644 --- a/core/mem/virtual/growing_arena.odin +++ b/core/mem/virtual/growing_arena.odin @@ -13,7 +13,7 @@ Growing_Arena :: struct { DEFAULT_MINIMUM_BLOCK_SIZE :: 1<<20 // 1 MiB should be enough -growing_arena_init :: proc(arena: ^Static_Arena, reserved: uint = DEFAULT_MINIMUM_BLOCK_SIZE) -> (err: Allocator_Error) { +growing_arena_init :: proc(arena: ^Growing_Arena, reserved: uint = DEFAULT_MINIMUM_BLOCK_SIZE) -> (err: Allocator_Error) { arena.block = memory_block_alloc(0, reserved, {}) or_return arena.total_used = 0 arena.total_reserved = arena.block.reserved