From: Daniel Stenberg Date: Mon, 4 Jul 2022 10:48:10 +0000 (+0200) Subject: cookie: use %zu to infof() for size_t values X-Git-Tag: curl-7_85_0~201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5f3c47cbb2ff5b9c716cc03ad77baee77c1c767;p=thirdparty%2Fcurl.git cookie: use %zu to infof() for size_t values Detected by Coverity. CID 1507051 Closes #9095 --- diff --git a/lib/cookie.c b/lib/cookie.c index cb57b86387..622fa678a4 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -1436,7 +1436,7 @@ struct Cookie *Curl_cookie_getlist(struct Curl_easy *data, matches++; if(matches >= MAX_COOKIE_SEND_AMOUNT) { - infof(data, "Included max number of cookies (%u) in request!", + infof(data, "Included max number of cookies (%zu) in request!", matches); break; }