summaryrefslogtreecommitdiffstats
path: root/src/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c
index 0b8bfb3ba3..68f1177f81 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -816,7 +816,7 @@ channel_connect(
ch_log(channel,
"Waiting for connection (waiting %d msec)...", waitnow);
- ret = select((int)sd + 1, &rfds, &wfds, NULL, &tv);
+ ret = select(sd + 1, &rfds, &wfds, NULL, &tv);
if (ret < 0)
{
SOCK_ERRNO;