diff --git a/lib/ssh.c b/lib/ssh.c index 0df7a0991..67995058a 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -2444,7 +2444,7 @@ static CURLcode ssh_easy_statemach(struct connectdata *conn, } /* wait for the socket to become ready */ Curl_socket_ready(fd_read, fd_write, - left>1000?1000:left); /* ignore result */ + (int)(left>1000?1000:left)); /* ignore result */ } #endif