]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cookie: use %zu to infof() for size_t values
authorDaniel Stenberg <daniel@haxx.se>
Mon, 4 Jul 2022 10:48:10 +0000 (12:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 4 Jul 2022 12:37:48 +0000 (14:37 +0200)
Detected by Coverity. CID 1507051
Closes #9095

lib/cookie.c

index cb57b8638719136e6405165134165b423e2e6399..622fa678a4dc37a1a7afca3acf8872a9e5e5f3ce 100644 (file)
@@ -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;
             }