aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-14 08:26:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-14 08:26:20 +0000
commit4df9d94414da9c05e52276034e1d772a94e2eb71 (patch)
tree8d58c33e89e5a79006c21b02606ae41cc44cc04c /lib
parent9a7fc9ce3aef1663f94f0c88d6f35fe2ec0c2d40 (diff)
added typecast when converting const char * to char *
Diffstat (limited to 'lib')
-rw-r--r--lib/getinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index 79deb2f38..7bacac849 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -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;