fix printf-style format strings

This commit is contained in:
Yang Tse
2010-02-04 19:44:31 +00:00
parent f47b84b57f
commit 7aef172a34
15 changed files with 50 additions and 49 deletions

View File

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