mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08: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