diff options
author | Gunter Knauf <gk@gknw.de> | 2009-07-24 22:06:19 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2009-07-24 22:06:19 +0000 |
commit | 1d5627b181ff6504e82f49ddff09996bb56b5b95 (patch) | |
tree | b827c0a4646324588e7252127842c90a4808d073 /lib | |
parent | 038fff6c9f11322c6c904775d694df4cc0fd2260 (diff) |
changes to silent compiler warnings with 64bit systems.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tftp.c b/lib/tftp.c index e8d1f4783..87e513e98 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -703,7 +703,7 @@ static CURLcode tftp_tx(tftp_state_data_t *state, tftp_event_t event) state->state = TFTP_STATE_FIN; return CURLE_OK; } - res = Curl_fillreadbuffer(state->conn, state->blksize, &readcount); + res = Curl_fillreadbuffer(state->conn, (int)state->blksize, &readcount); state->sbytes = readcount; if(res) return res; @@ -839,7 +839,7 @@ static CURLcode tftp_connect(struct connectdata *conn, bool *done) /* alloc pkt buffers based on specified blksize */ if(conn->data->set.tftp_blksize) { - blksize = conn->data->set.tftp_blksize; + blksize = (int)conn->data->set.tftp_blksize; if(blksize > TFTP_BLKSIZE_MAX || blksize < TFTP_BLKSIZE_MIN ) return CURLE_TFTP_ILLEGAL; } |