mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
added typecast when converting const char * to char *
This commit is contained in:
parent
9a7fc9ce3a
commit
4df9d94414
@ -62,7 +62,7 @@ CURLcode Curl_getinfo(CURL *curl, CURLINFO info, ...)
|
||||
|
||||
switch(info) {
|
||||
case CURLINFO_EFFECTIVE_URL:
|
||||
*param_charp = data->url?data->url:"";
|
||||
*param_charp = data->url?data->url:(char *)"";
|
||||
break;
|
||||
case CURLINFO_HTTP_CODE:
|
||||
*param_longp = data->progress.httpcode;
|
||||
|
Loading…
Reference in New Issue
Block a user