aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-07-24 22:20:22 +0000
committerGunter Knauf <gk@gknw.de>2009-07-24 22:20:22 +0000
commit8570883412c390dba12ab127fc79079b964242b4 (patch)
tree667856d5c7c95c425acfd77f36f3f04390974153 /lib
parent1d5627b181ff6504e82f49ddff09996bb56b5b95 (diff)
changes to silent compiler warnings with 64bit systems.
Diffstat (limited to 'lib')
-rw-r--r--lib/tftp.c2
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;