aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-04 19:44:31 +0000
committerYang Tse <yangsita@gmail.com>2010-02-04 19:44:31 +0000
commit7aef172a347a0422a0968fde9c487639ff673383 (patch)
tree56ffb38d50520aa2a62aefa24a592381ecec4193 /lib/sendf.c
parentf47b84b57ff74915820d26efc30459158bbe5c9c (diff)
fix printf-style format strings
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index e2afd7170..0d6764cbf 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -343,8 +343,8 @@ static CURLcode pausewrite(struct SessionHandle *data,
/* mark the connection as RECV paused */
k->keepon |= KEEP_RECV_PAUSE;
- DEBUGF(infof(data, "Pausing with %d bytes in buffer for type %02x\n",
- (int)len, type));
+ DEBUGF(infof(data, "Pausing with %zu bytes in buffer for type %02x\n",
+ len, type));
return CURLE_OK;
}
@@ -426,7 +426,7 @@ CURLcode Curl_client_write(struct connectdata *conn,
return pausewrite(data, type, ptr, len);
if(wrote != len) {
- failf(data, "Failed writing body (%d != %d)", (int)wrote, (int)len);
+ failf(data, "Failed writing body (%zu != %zu)", wrote, len);
return CURLE_WRITE_ERROR;
}
}