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();