Fix compilation on i586

This commit is contained in:
Jeremy Soller
2025-11-16 08:54:54 -07:00
parent 099c35f3ca
commit c6849f21e4
+1 -1
View File
@@ -152,7 +152,7 @@ pub unsafe extern "C" fn ppoll(
} else {
let tmo = unsafe { &*tmo_p };
//TODO: handle overflow
((tmo.tv_sec * 1000) + (tmo.tv_nsec / 1000000)) as c_int
((tmo.tv_sec as c_int) * 1000) + ((tmo.tv_nsec as c_int) / 1000000)
};
trace_expr!(
poll_epoll(