aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-08 08:58:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-09-15 16:56:23 +0200
commit2fc1db56cd13a4cdaf363c86042d7f5a99710241 (patch)
tree129ee04166c0658a51a0d8bd60e2a59ff833bb41
parent50b208e23ea2c851c7a4f83bc8cafe0d97a41732 (diff)
escape.c: error: pointer targets differ in signedness
-rw-r--r--lib/escape.c4
1 files 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);