1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

ssh: Fix compile error on 64-bit systems.

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear 2010-07-19 18:06:20 +02:00 committed by Daniel Stenberg
parent d6981cb508
commit affff47b3d

View File

@ -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