From ccc5ef07abe5e668983f111b76e1bfda74409714 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 8 Mar 2026 20:46:34 +0100 Subject: [PATCH] fixes --- tests/unit/unit2603.c | 2 +- tests/unit/unit2604.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/unit2603.c b/tests/unit/unit2603.c index 15ec12c41d..195f796a60 100644 --- a/tests/unit/unit2603.c +++ b/tests/unit/unit2603.c @@ -82,7 +82,7 @@ static void parse_success(const struct tcase *t) in_consumed += nread; if(nread != buflen) { if(!p.done) { - curl_mfprintf(stderr, "only %zd/%zu consumed for: '%s'\n", + curl_mfprintf(stderr, "only %zu/%zu consumed for: '%s'\n", nread, buflen, buf); fail("not all consumed"); } diff --git a/tests/unit/unit2604.c b/tests/unit/unit2604.c index 040874aff3..2143413713 100644 --- a/tests/unit/unit2604.c +++ b/tests/unit/unit2604.c @@ -86,7 +86,7 @@ static CURLcode test_unit2604(const char *arg) char *path; const char *cp = i == 0 ? cp0 : list[i].cp; CURLcode result = Curl_get_pathname(&cp, &path, list[i].home); - curl_mprintf("%u - Curl_get_pathname(\"%s\", ... \"%s\") == %u\n", i, + curl_mprintf("%d - Curl_get_pathname(\"%s\", ... \"%s\") == %d\n", i, list[i].cp, list[i].home, list[i].result); if(result != list[i].result) { curl_mprintf("... returned %d\n", result);