diff options
author | Michael Adam <obnox@samba.org> | 2009-08-09 23:04:27 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-09 23:04:27 +0200 |
commit | ed23ceef64695717d99732f790bb5d075c9a3c7d (patch) | |
tree | aa1ae8af34ab302f4f3d5068327399b24eadf68f | |
parent | bfa2c8ed774ce7e9d9bb015bc7b13865968fca69 (diff) | |
download | tinyproxy-ed23ceef64695717d99732f790bb5d075c9a3c7d.tar.gz tinyproxy-ed23ceef64695717d99732f790bb5d075c9a3c7d.zip |
Fix implicit cast warning in extract_http_url().
Michael
Diffstat (limited to '')
-rw-r--r-- | src/reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |