From: Gunter Knauf Date: Fri, 24 Jul 2009 22:20:22 +0000 (+0000) Subject: changes to silent compiler warnings with 64bit systems. X-Git-Tag: curl-7_19_6~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8570883412c390dba12ab127fc79079b964242b4;p=curl changes to silent compiler warnings with 64bit systems. --- 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;