Skip to content
Snippets Groups Projects
Commit 4df9d944 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added typecast when converting const char * to char *

parent 9a7fc9ce
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment