main: fix ios 32-bit warning
This commit is contained in:
parent
c2d23f1b01
commit
08ac591891
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ static int fd_poll(struct re *re)
|
|||
case METHOD_KQUEUE: {
|
||||
struct timespec timeout;
|
||||
|
||||
timeout.tv_sec = to / 1000;
|
||||
timeout.tv_sec = (time_t) (to / 1000);
|
||||
timeout.tv_nsec = (to % 1000) * 1000000;
|
||||
|
||||
re_unlock(re);
|
||||
|
|
Loading…
Add table
Reference in a new issue