mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Update code for new -vet
This commit is contained in:
@@ -207,7 +207,7 @@ fcntl_setfd :: proc "contextless" (fd: Fd, close_on_exec: bool) -> Errno {
|
||||
result, _ := intrinsics.syscall_bsd(SYS_fcntl,
|
||||
cast(uintptr)fd,
|
||||
cast(uintptr)File_Control_Command.SETFD,
|
||||
cast(uintptr)(close_on_exec ? FD_CLOEXEC : 0))
|
||||
(close_on_exec ? FD_CLOEXEC : 0))
|
||||
|
||||
return cast(Errno)result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user