From: Yang Tse Date: Tue, 8 Jun 2010 23:51:46 +0000 (+0200) Subject: fix compiler warning using curl_socket_t to store socket descriptor X-Git-Tag: curl-7_21_0~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da6e992e1dbc2c44c19716ee1ef1f07e4250fd72;p=thirdparty%2Fcurl.git fix compiler warning using curl_socket_t to store socket descriptor --- diff --git a/lib/tftp.c b/lib/tftp.c index c02337f99d..a1c0e259c1 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -1199,7 +1199,7 @@ static CURLcode tftp_easy_statemach(struct connectdata *conn) CURLcode result = CURLE_OK; struct SessionHandle *data = conn->data; tftp_state_data_t *state = (tftp_state_data_t *)conn->proto.tftpc; - int fd_read; + curl_socket_t fd_read; long timeout_ms; struct SingleRequest *k = &data->req; struct timeval transaction_start = Curl_tvnow();