summaryrefslogtreecommitdiff
path: root/lib/cookie.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-07-04 12:48:10 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-07-04 14:37:48 +0200
commitc5f3c47cbb2ff5b9c716cc03ad77baee77c1c767 (patch)
tree8db7cd8473ae5fafddfd1ef53e5bdf4c5d5838fa /lib/cookie.c
parent8ef0f35a044e1f5b46978c9049df9bf9b1b9776c (diff)
downloadcurl-c5f3c47cbb2ff5b9c716cc03ad77baee77c1c767.tar.gz
cookie: use %zu to infof() for size_t values
Detected by Coverity. CID 1507051 Closes #9095
Diffstat (limited to 'lib/cookie.c')
-rw-r--r--lib/cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index cb57b8638..622fa678a 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;
}