added typecast when converting const char * to char *

This commit is contained in:
Daniel Stenberg 2001-08-14 08:26:20 +00:00
parent 9a7fc9ce3a
commit 4df9d94414

View File

@ -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;