mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 10:52:19 +00:00
Fix typo
This commit is contained in:
@@ -604,7 +604,7 @@ access :: proc(path: string, mask: int) -> (bool, Errno) {
|
||||
}
|
||||
|
||||
heap_alloc :: proc(size: int, zero_memory := true) -> rawptr {
|
||||
if zero <= 0 {
|
||||
if size <= 0 {
|
||||
return nil
|
||||
}
|
||||
if zero_memory {
|
||||
|
||||
Reference in New Issue
Block a user