aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-07-31 23:13:17 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-08-01 14:08:00 +0200
commit276644ca1682fbd78f0acf3368865aee38d5aa48 (patch)
tree0497ecb7f4ce0c93f9e67ade8965f147094ac6c3
parent6377da72b2898d62ad98f4e446158e68091e9d04 (diff)
general: fix printf specifiers
Closes #2818
-rw-r--r--lib/url.c2
-rw-r--r--tests/libtest/libntlmconnect.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index ccfdb18a4..dcb7fcf6c 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 519c5296e..e17b991a4 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();