diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-14 08:26:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-14 08:26:20 +0000 |
commit | 4df9d94414da9c05e52276034e1d772a94e2eb71 (patch) | |
tree | 8d58c33e89e5a79006c21b02606ae41cc44cc04c /lib/getinfo.c | |
parent | 9a7fc9ce3aef1663f94f0c88d6f35fe2ec0c2d40 (diff) | |
download | curl-4df9d94414da9c05e52276034e1d772a94e2eb71.tar.gz |
added typecast when converting const char * to char *
Diffstat (limited to 'lib/getinfo.c')
-rw-r--r-- | lib/getinfo.c | 2 |
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; |