summaryrefslogtreecommitdiff
path: root/src/htsserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsserver.h')
-rw-r--r--src/htsserver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsserver.h b/src/htsserver.h
index c5db213..28c956c 100644
--- a/src/htsserver.h
+++ b/src/htsserver.h
@@ -147,7 +147,7 @@ HTS_UNUSED static int check_readinput_t(T_SOC soc, int timeout) {
FD_SET(soc, &fds);
tv.tv_sec = timeout;
tv.tv_usec = 0;
- select(soc + 1, &fds, NULL, NULL, &tv);
+ select((int) soc + 1, &fds, NULL, NULL, &tv);
if (FD_ISSET(soc, &fds))
return 1;
else