From ed23ceef64695717d99732f790bb5d075c9a3c7d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 9 Aug 2009 23:04:27 +0200 Subject: Fix implicit cast warning in extract_http_url(). Michael --- src/reqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reqs.c b/src/reqs.c index 8250872..7bd489c 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -258,7 +258,7 @@ extract_http_url (const char *url, struct request_s *request) if (p != NULL) { len = p - url; - request->host = safemalloc (len + 1); + request->host = (char *)safemalloc (len + 1); memcpy (request->host, url, len); request->host[len] = '\0'; request->path = safestrdup (p); -- cgit v1.2.3