diff options
-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 87e513e98..0a1dc59bd 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -1035,7 +1035,7 @@ static CURLcode tftp_do(struct connectdata *conn, bool *done) case TFTP_EVENT_OACK: code = tftp_parse_option_ack(state, (const char *)state->rpacket.data+2, - state->rbytes-2); + (int)state->rbytes-2); if(code) return code; break; |