mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
merge from upstream and convert to ^File types
This commit is contained in:
@@ -130,7 +130,7 @@ EHWPOISON :: 133 /* Memory page has hardware error */
|
||||
|
||||
_get_platform_error :: proc(res: int) -> Error {
|
||||
errno := unix.get_errno(res)
|
||||
return Platform_Error{i32(errno)}
|
||||
return Platform_Error(i32(errno))
|
||||
}
|
||||
|
||||
_ok_or_error :: proc(res: int) -> Error {
|
||||
|
||||
Reference in New Issue
Block a user