gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 197/256: escape.c: error: pointer targets differ in


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 197/256: escape.c: error: pointer targets differ in signedness
Date: Fri, 06 Oct 2017 19:44:48 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 2fc1db56cd13a4cdaf363c86042d7f5a99710241
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Sep 8 08:58:12 2017 +0200

    escape.c: error: pointer targets differ in signedness
---
 lib/escape.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/escape.c b/lib/escape.c
index c734f0f76..b7e2d32a6 100644
--- a/lib/escape.c
+++ b/lib/escape.c
@@ -116,7 +116,7 @@ char *curl_easy_escape(struct Curl_easy *data, const char 
*string,
         ns = testing_ptr;
       }
 
-      result = Curl_convert_to_network(data, &in, 1);
+      result = Curl_convert_to_network(data, (char *)&in, 1);
       if(result) {
         /* Curl_convert_to_network calls failf if unsuccessful */
         free(ns);
@@ -173,7 +173,7 @@ CURLcode Curl_urldecode(struct Curl_easy *data,
 
       in = curlx_ultouc(hex); /* this long is never bigger than 255 anyway */
 
-      result = Curl_convert_from_network(data, &in, 1);
+      result = Curl_convert_from_network(data, (char *)&in, 1);
       if(result) {
         /* Curl_convert_from_network calls failf if unsuccessful */
         free(ns);

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



reply via email to

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