From 67fe4479eccef8810072007a7a09c595a676897e Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 4 Sep 2015 11:32:04 +0200 Subject: [PATCH] Fix (harmless) curl compile warning, reported by warg (#3987). --- src/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/url.c b/src/url.c index 637062a06..4aaf3a247 100644 --- a/src/url.c +++ b/src/url.c @@ -239,7 +239,7 @@ static void url_check_multi_handles(void) CURL *easyhand = msg->easy_handle; curl_easy_getinfo(easyhand, CURLINFO_RESPONSE_CODE, &code); - curl_easy_getinfo(easyhand, CURLINFO_PRIVATE, (char *) &handle); + curl_easy_getinfo(easyhand, CURLINFO_PRIVATE, (char **) &handle); curl_easy_getinfo(easyhand, CURLINFO_FILETIME, &last_mod); fclose(handle->fd); #if defined(IRC_USER) && defined(IRC_GROUP)