diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-09-08 08:58:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-15 16:56:23 +0200 |
commit | 2fc1db56cd13a4cdaf363c86042d7f5a99710241 (patch) | |
tree | 129ee04166c0658a51a0d8bd60e2a59ff833bb41 | |
parent | 50b208e23ea2c851c7a4f83bc8cafe0d97a41732 (diff) |
escape.c: error: pointer targets differ in signedness
-rw-r--r-- | lib/escape.c | 4 |
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); |