Update code for new -vet

This commit is contained in:
Feoramund
2024-06-30 11:18:40 -04:00
parent f0cf1052d0
commit 8b915aae5e
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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
}