1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

escape.c: error: pointer targets differ in signedness

This commit is contained in:
Daniel Stenberg 2017-09-08 08:58:12 +02:00
parent 50b208e23e
commit 2fc1db56cd
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -116,7 +116,7 @@ char *curl_easy_escape(struct Curl_easy *data, const char *string,
ns = testing_ptr; ns = testing_ptr;
} }
result = Curl_convert_to_network(data, &in, 1); result = Curl_convert_to_network(data, (char *)&in, 1);
if(result) { if(result) {
/* Curl_convert_to_network calls failf if unsuccessful */ /* Curl_convert_to_network calls failf if unsuccessful */
free(ns); 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 */ 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) { if(result) {
/* Curl_convert_from_network calls failf if unsuccessful */ /* Curl_convert_from_network calls failf if unsuccessful */
free(ns); free(ns);