diff --git a/core/sys/linux/sys.odin b/core/sys/linux/sys.odin index 0e4cebce2..f28a5fdb2 100644 --- a/core/sys/linux/sys.odin +++ b/core/sys/linux/sys.odin @@ -1413,7 +1413,8 @@ umask :: proc "contextless" (mask: Mode) -> Mode { Available since Linux 1.0. */ gettimeofday :: proc "contextless" (tv: ^Time_Val) -> (Errno) { - ret := syscall(SYS_gettimeofday, tv, nil) + null: uintptr + ret := syscall(SYS_gettimeofday, tv, null) return Errno(-ret) }