From 276644ca1682fbd78f0acf3368865aee38d5aa48 Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Tue, 31 Jul 2018 23:13:17 +0200 Subject: [PATCH] general: fix printf specifiers Closes #2818 --- lib/url.c | 2 +- tests/libtest/libntlmconnect.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/url.c b/lib/url.c index ccfdb18a43..dcb7fcf6ca 100644 --- a/lib/url.c +++ b/lib/url.c @@ -758,7 +758,7 @@ CURLcode Curl_disconnect(struct Curl_easy *data, * are other users of it */ if(CONN_INUSE(conn) && !dead_connection) { - DEBUGF(infof(data, "Curl_disconnect when inuse: %d\n", CONN_INUSE(conn))); + DEBUGF(infof(data, "Curl_disconnect when inuse: %zu\n", CONN_INUSE(conn))); return CURLE_OK; } diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c index 519c5296e6..e17b991a4f 100644 --- a/tests/libtest/libntlmconnect.c +++ b/tests/libtest/libntlmconnect.c @@ -158,7 +158,7 @@ int test(char *url) multi_perform(multi, &running); - fprintf(stderr, "%s:%d running %ld state %d\n", + fprintf(stderr, "%s:%d running %d state %d\n", __FILE__, __LINE__, running, state); abort_on_test_timeout();