diff options
| author | gingerBill <bill@gingerbill.org> | 2024-08-04 11:58:04 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-08-04 11:58:04 +0100 |
| commit | 97c499dbb40deeef3778c9a20aa2b38d96aa46f1 (patch) | |
| tree | 66b5ed8c30068770766d8183bfb0951986a628f0 /core/flags | |
| parent | 1d75a612d54f102ef530c1f58546e3cdb239160c (diff) | |
Begin mapping `os.Error` in the rest of the codebase
Diffstat (limited to 'core/flags')
| -rw-r--r-- | core/flags/internal_rtti.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/flags/internal_rtti.odin b/core/flags/internal_rtti.odin index 8838b771d..4c1db5d0b 100644 --- a/core/flags/internal_rtti.odin +++ b/core/flags/internal_rtti.odin @@ -254,7 +254,7 @@ parse_and_set_pointer_by_named_type :: proc(ptr: rawptr, str: string, data_type: } handle, errno := os.open(str, mode, perms) - if errno != 0 { + if errno != nil { // NOTE(Feoramund): os.Error is system-dependent, and there's // currently no good way to translate them all into strings. // |