mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-17 21:21:04 +00:00
Fix init_arena_from_context
This commit is contained in:
@@ -138,7 +138,7 @@ init_arena_from_memory :: proc(using a: ^Arena, data: []byte) {
|
||||
|
||||
init_arena_from_context :: proc(using a: ^Arena, size: int) {
|
||||
backing = context.allocator;
|
||||
memory = new_slice(byte, 0, size);
|
||||
memory = new_slice(byte, size);
|
||||
temp_count = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user