gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 50/153: general: fix printf specifiers


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 50/153: general: fix printf specifiers
Date: Tue, 11 Sep 2018 12:52:01 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 276644ca1682fbd78f0acf3368865aee38d5aa48
Author: Rikard Falkeborn <address@hidden>
AuthorDate: Tue Jul 31 23:13:17 2018 +0200

    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 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();

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]