summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-09 23:04:27 +0200
committerMichael Adam <obnox@samba.org>2009-08-09 23:04:27 +0200
commited23ceef64695717d99732f790bb5d075c9a3c7d (patch)
treeaa1ae8af34ab302f4f3d5068327399b24eadf68f
parentbfa2c8ed774ce7e9d9bb015bc7b13865968fca69 (diff)
downloadtinyproxy-ed23ceef64695717d99732f790bb5d075c9a3c7d.tar.gz
tinyproxy-ed23ceef64695717d99732f790bb5d075c9a3c7d.zip
Fix implicit cast warning in extract_http_url().
Michael
Diffstat (limited to '')
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
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);