diff options
| author | flysand7 <yyakut.ac@gmail.com> | 2023-12-06 00:33:09 +1100 |
|---|---|---|
| committer | flysand7 <yyakut.ac@gmail.com> | 2023-12-06 00:33:09 +1100 |
| commit | 5665ae02bcb116d981a825cf9b14bf7ada686ac4 (patch) | |
| tree | 847cceb5ccf84a6c8aeacc4b8e61da6cc769f445 /core/sys/linux | |
| parent | 92d3a681cd6cc2aceb0865d4bffdf8a112f6f0d6 (diff) | |
type error
Diffstat (limited to 'core/sys/linux')
| -rw-r--r-- | core/sys/linux/sys.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/linux/sys.odin b/core/sys/linux/sys.odin index e8d5346cb..27c855c3b 100644 --- a/core/sys/linux/sys.odin +++ b/core/sys/linux/sys.odin @@ -2413,7 +2413,7 @@ epoll_wait :: proc(epfd: Fd, events: [^]EPoll_Event, count: i32, timeout: i32) - } else { // Convert milliseconds to nanosecond timespec timeout_ns := Time_Spec { - time_sec = timeout * 1000, + time_sec = uint(timeout * 1000), time_nsec = 0, } ret := syscall(SYS_epoll_pwait, epfd, events, count, &timeout_ns, rawptr(nil)) |