diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-07-04 12:48:10 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-07-04 14:37:48 +0200 |
commit | c5f3c47cbb2ff5b9c716cc03ad77baee77c1c767 (patch) | |
tree | 8db7cd8473ae5fafddfd1ef53e5bdf4c5d5838fa /lib/cookie.c | |
parent | 8ef0f35a044e1f5b46978c9049df9bf9b1b9776c (diff) | |
download | curl-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.c | 2 |
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; } |