type error
This commit is contained in:
1 parent
92d3a681cd
commit
5665ae02bc
1 file changed
+1
-1
@@ -2413,7 +2413,7 @@ epoll_wait :: proc(epfd: Fd, events: [^]EPoll_Event, count: i32, timeout: i32) -
|
|||||||
} else {
|
} else {
|
||||||
// Convert milliseconds to nanosecond timespec
|
// Convert milliseconds to nanosecond timespec
|
||||||
timeout_ns := Time_Spec {
|
timeout_ns := Time_Spec {
|
||||||
time_sec = timeout * 1000,
|
time_sec = uint(timeout * 1000),
|
||||||
time_nsec = 0,
|
time_nsec = 0,
|
||||||
}
|
}
|
||||||
ret := syscall(SYS_epoll_pwait, epfd, events, count, &timeout_ns, rawptr(nil))
|
ret := syscall(SYS_epoll_pwait, epfd, events, count, &timeout_ns, rawptr(nil))
|
||||||
|
|||||||
Reference in new issue
Block a user