Fix implicit cast warning in extract_http_url().

Michael
This commit is contained in:
Michael Adam 2009-08-09 23:04:27 +02:00
parent bfa2c8ed77
commit ed23ceef64

View File

@ -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);