cURL / Mailing Lists / curl-library / Single Mail

curl-library

[curl 1/5] ssh: Fix compile error on 64-bit systems.

From: Ben Greear <greearb_at_candelatech.com>
Date: Mon, 19 Jul 2010 09:06:20 -0700

Signed-off-by: Ben Greear <greearb_at_candelatech.com>

---
:100644 100644 0df7a09... 6799505... M	lib/ssh.c
 lib/ssh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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
 
-- 
1.6.2.5
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-19