From: Ben Greear Date: Mon, 19 Jul 2010 16:06:20 +0000 (+0200) Subject: ssh: Fix compile error on 64-bit systems. X-Git-Tag: curl-7_21_1~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=affff47b3d9591bec1381315d0e7f50ae35d922a;p=curl ssh: Fix compile error on 64-bit systems. Signed-off-by: Ben Greear --- 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