]> granicus.if.org Git - curl/commitdiff
ssh: Fix compile error on 64-bit systems.
authorBen Greear <greearb@candelatech.com>
Mon, 19 Jul 2010 16:06:20 +0000 (18:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Jul 2010 19:31:37 +0000 (21:31 +0200)
Signed-off-by: Ben Greear <greearb@candelatech.com>
lib/ssh.c

index 0df7a09917e7f09c15887261e644238fa26974a2..67995058a53bdef073cbe730019c0de18af90e56 100644 (file)
--- 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