summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1558.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-11-23 22:42:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-24 13:18:41 +0100
commit920f49a20be51170ec1804f2736ea3e2593cdbe5 (patch)
tree2763cccabd025becc428bcb90b6690a98281978d /tests/libtest/lib1558.c
parent020aa0131bfa733b2a4bd62a010389f9871832df (diff)
downloadgnurl-920f49a20be51170ec1804f2736ea3e2593cdbe5.tar.gz
gnurl-920f49a20be51170ec1804f2736ea3e2593cdbe5.tar.bz2
gnurl-920f49a20be51170ec1804f2736ea3e2593cdbe5.zip
infof/failf calls: fix format specifiers
Update a few format specifiers to match what is being printed. Closes #6241
Diffstat (limited to 'tests/libtest/lib1558.c')
-rw-r--r--tests/libtest/lib1558.c2
1 files changed, 1 insertions, 1 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();