main: fix ios 32-bit warning

This commit is contained in:
Richard Aas 2016-02-08 15:36:50 +00:00
parent c2d23f1b01
commit 08ac591891

View file

@ -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);