diff options
author | Yang Tse <yangsita@gmail.com> | 2010-06-09 01:51:46 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-06-09 01:51:46 +0200 |
commit | da6e992e1dbc2c44c19716ee1ef1f07e4250fd72 (patch) | |
tree | 50e9a0a97d0233efcfb2ec066f210fe347edc32c /lib | |
parent | feecf63a9607cce4c9339ad9f1b5a550e6bd2d98 (diff) |
fix compiler warning using curl_socket_t to store socket descriptor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tftp.c | 2 |
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(); |