diff options
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 6 |
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; } } |