From 4f170ee8f9c1d067022300df2da331c30dcda9dd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 4 Jun 2011 21:19:14 +0200 Subject: Curl_socket_ready: make timeout a 'long' It was mostly typecasted to int all over the code so switching to long instead all over should be a net gain. --- lib/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tftp.c') diff --git a/lib/tftp.c b/lib/tftp.c index 661238987..46b3ecfcb 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -1255,7 +1255,7 @@ static CURLcode tftp_easy_statemach(struct connectdata *conn) /* Wait until ready to read or timeout occurs */ - rc = Curl_socket_ready(fd_read, CURL_SOCKET_BAD, (int)(timeout_ms)); + rc = Curl_socket_ready(fd_read, CURL_SOCKET_BAD, timeout_ms); k->now = Curl_tvnow(); -- cgit v1.2.3