aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/select.c')
-rw-r--r--sysdeps/unix/sysv/linux/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/select.c b/sysdeps/unix/sysv/linux/select.c
index a3f0a2e..fd147df 100644
--- a/sysdeps/unix/sysv/linux/select.c
+++ b/sysdeps/unix/sysv/linux/select.c
@@ -72,7 +72,7 @@ __select64 (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
TIMESPEC_TO_TIMEVAL (timeout, pts64);
return r;
#else
- bool need_time64 = timeout != NULL && !in_time_t_range (timeout->tv_sec);
+ bool need_time64 = timeout != NULL && !in_int32_t_range (timeout->tv_sec);
if (need_time64)
{
int r = SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds,