From c5f3c47cbb2ff5b9c716cc03ad77baee77c1c767 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 4 Jul 2022 12:48:10 +0200 Subject: [PATCH] cookie: use %zu to infof() for size_t values Detected by Coverity. CID 1507051 Closes #9095 --- lib/cookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3