aboutsummaryrefslogtreecommitdiff
path: root/lib/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tftp.c')
-rw-r--r--lib/tftp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tftp.c b/lib/tftp.c
index c09aadc03..c02337f99 100644
--- a/lib/tftp.c
+++ b/lib/tftp.c
@@ -759,8 +759,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, (size_t)state->blksize,
- &state->sbytes);
+ res = Curl_fillreadbuffer(state->conn, state->blksize, &state->sbytes);
if(res)
return res;
sbytes = sendto(state->sockfd, (void *)state->spacket.data,