changes to silent compiler warnings with 64bit systems.

This commit is contained in:
Gunter Knauf 2009-07-24 22:20:22 +00:00
parent 1d5627b181
commit 8570883412

View File

@ -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;