From da6e992e1dbc2c44c19716ee1ef1f07e4250fd72 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 9 Jun 2010 01:51:46 +0200 Subject: fix compiler warning using curl_socket_t to store socket descriptor --- lib/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/tftp.c b/lib/tftp.c index c02337f99..a1c0e259c 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(); -- cgit v1.2.3