]> granicus.if.org Git - curl/commitdiff
general: fix printf specifiers
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Tue, 31 Jul 2018 21:13:17 +0000 (23:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 1 Aug 2018 12:08:00 +0000 (14:08 +0200)
Closes #2818

lib/url.c
tests/libtest/libntlmconnect.c

index ccfdb18a43ba9b4119f0d53c9d95f411c013aad9..dcb7fcf6ca5377bc911b274c32b1c6422484a56b 100644 (file)
--- 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;
   }
 
index 519c5296e648e248f9b0dd65d90127bcee49e327..e17b991a4fc1d39c303f734fe2ff5e38fae250d4 100644 (file)
@@ -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();