From affff47b3d9591bec1381315d0e7f50ae35d922a Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Mon, 19 Jul 2010 18:06:20 +0200 Subject: [PATCH] ssh: Fix compile error on 64-bit systems. Signed-off-by: Ben Greear --- lib/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ssh.c b/lib/ssh.c index 0df7a09..6799505 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 -- 2.7.4