Skip to content

Commit 91a9875

Browse files
committed
Correct cast to uintptr
1 parent efb553a commit 91a9875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/runtime/os_specific_linux.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ _exit :: proc "contextless" (code: int) -> ! {
3535
94 when ODIN_ARCH == .riscv64 else
3636
0
3737

38-
intrinsics.syscall(uintptr(SYS_exit_group), i32(code))
38+
intrinsics.syscall(uintptr(SYS_exit_group), uintptr(i32(code)))
3939
unreachable()
4040
}

0 commit comments

Comments
 (0)