From 00fd84586c5baebe21c4b20b70ddc7d2624d215a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 9 Aug 2009 23:05:28 +0200 Subject: Fix implicit cast warning in extract_ssl_url(). Michael --- src/reqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/reqs.c b/src/reqs.c index 7bd489c..39f3166 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -296,7 +296,7 @@ ERROR_EXIT: static int extract_ssl_url (const char *url, struct request_s *request) { - request->host = safemalloc (strlen (url) + 1); + request->host = (char *)safemalloc (strlen (url) + 1); if (!request->host) return -1; -- cgit v1.2.3