aboutsummaryrefslogtreecommitdiff
path: root/lib/tftp.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-06-09 01:51:46 +0200
committerYang Tse <yangsita@gmail.com>2010-06-09 01:51:46 +0200
commitda6e992e1dbc2c44c19716ee1ef1f07e4250fd72 (patch)
tree50e9a0a97d0233efcfb2ec066f210fe347edc32c /lib/tftp.c
parentfeecf63a9607cce4c9339ad9f1b5a550e6bd2d98 (diff)
fix compiler warning using curl_socket_t to store socket descriptor
Diffstat (limited to 'lib/tftp.c')
-rw-r--r--lib/tftp.c2
1 files changed, 1 insertions, 1 deletions
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();