Fix typo
This commit is contained in:
1 parent
7f601c9535
commit
c767d55e9a
1 file changed
+1
-1
@@ -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