summaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib1558.c2
-rw-r--r--tests/libtest/lib1915.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib1558.c b/tests/libtest/lib1558.c
index 4fb32b468..610339b63 100644
--- a/tests/libtest/lib1558.c
+++ b/tests/libtest/lib1558.c
@@ -49,7 +49,7 @@ int test(char *URL)
goto test_cleanup;
}
- printf("Protocol: %x\n", protocol);
+ printf("Protocol: %lx\n", protocol);
curl_easy_cleanup(curl);
curl_global_cleanup();
diff --git a/tests/libtest/lib1915.c b/tests/libtest/lib1915.c
index d1c755abf..4e632d3ab 100644
--- a/tests/libtest/lib1915.c
+++ b/tests/libtest/lib1915.c
@@ -63,7 +63,7 @@ static CURLSTScode hstswrite(CURL *easy, struct curl_hstsentry *e,
{
(void)easy;
(void)userp;
- printf("[%u/%u] %s %s\n", i->index, i->total, e->name, e->expire);
+ printf("[%zu/%zu] %s %s\n", i->index, i->total, e->name, e->expire);
return CURLSTS_OK;
}