diff --git a/tests/libtest/lib1565.c b/tests/libtest/lib1565.c index 5cf49ad0b6..e6c266a7e5 100644 --- a/tests/libtest/lib1565.c +++ b/tests/libtest/lib1565.c @@ -129,7 +129,7 @@ static CURLcode test_lib1565(const char *URL) } else { curl_mfprintf(stderr, - "%s:%d Got an unexpected message from curl: %i\n", + "%s:%d Got an unexpected message from curl: %d\n", __FILE__, __LINE__, message->msg); result = TEST_ERR_MAJOR_BAD; goto test_cleanup; diff --git a/tests/libtest/lib1597.c b/tests/libtest/lib1597.c index 78b2bba4c2..5e3fab8cad 100644 --- a/tests/libtest/lib1597.c +++ b/tests/libtest/lib1597.c @@ -100,7 +100,7 @@ static CURLcode test_lib1597(const char *URL) break; } } - curl_mprintf("Tested %u strings\n", i); + curl_mprintf("Tested %d strings\n", i); test_cleanup: curl_easy_cleanup(curl); diff --git a/tests/libtest/lib1918.c b/tests/libtest/lib1918.c index 1c8ccb78f9..cc6fe1949d 100644 --- a/tests/libtest/lib1918.c +++ b/tests/libtest/lib1918.c @@ -37,11 +37,11 @@ static CURLcode test_lib1918(const char *URL) curl_easy_option_by_id(o->id); if(ename->id != o->id) { - curl_mprintf("name lookup id %d does not match %d\n", + curl_mprintf("name lookup id %u does not match %u\n", ename->id, o->id); } else if(eid->id != o->id) { - curl_mprintf("ID lookup %d does not match %d\n", + curl_mprintf("ID lookup %u does not match %u\n", ename->id, o->id); } } diff --git a/tests/libtest/lib1947.c b/tests/libtest/lib1947.c index 4fe2bf5801..88a6336dbe 100644 --- a/tests/libtest/lib1947.c +++ b/tests/libtest/lib1947.c @@ -63,7 +63,7 @@ static CURLcode test_lib1947(const char *URL) if(h) count++; } while(h); - curl_mprintf("count = %u\n", count); + curl_mprintf("count = %d\n", count); /* perform another request - without redirect */ easy_setopt(curl, CURLOPT_URL, libtest_arg2); @@ -81,7 +81,7 @@ static CURLcode test_lib1947(const char *URL) if(h) count++; } while(h); - curl_mprintf("count = %u\n", count); + curl_mprintf("count = %d\n", count); test_cleanup: curl_easy_cleanup(curl); diff --git a/tests/libtest/lib2032.c b/tests/libtest/lib2032.c index e87eb5ecad..0dd498c9bb 100644 --- a/tests/libtest/lib2032.c +++ b/tests/libtest/lib2032.c @@ -153,7 +153,7 @@ static CURLcode test_lib2032(const char *URL) /* libntlmconnect */ multi_perform(multi, &running); curl_mfprintf(stderr, "%s:%d running %d state %d\n", - __FILE__, __LINE__, running, state); + __FILE__, __LINE__, running, (int)state); abort_on_test_timeout(); @@ -177,7 +177,8 @@ static CURLcode test_lib2032(const char *URL) /* libntlmconnect */ } state = num_handles < MAX_EASY_HANDLES ? ReadyForNewHandle : NoMoreHandles; - curl_mfprintf(stderr, "%s:%d new state %d\n", __FILE__, __LINE__, state); + curl_mfprintf(stderr, "%s:%d new state %d\n", + __FILE__, __LINE__, (int)state); } multi_timeout(multi, &timeout);