mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
escape.c: error: pointer targets differ in signedness
This commit is contained in:
parent
50b208e23e
commit
2fc1db56cd
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user