]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix compiler warning using curl_socket_t to store socket descriptor
authorYang Tse <yangsita@gmail.com>
Tue, 8 Jun 2010 23:51:46 +0000 (01:51 +0200)
committerYang Tse <yangsita@gmail.com>
Tue, 8 Jun 2010 23:51:46 +0000 (01:51 +0200)
lib/tftp.c

index c02337f99d3ee33708cd3315ef623d0d6ebd6500..a1c0e259c1add77f7ac7a612e29b2e4691178474 100644 (file)
@@ -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();