summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-09 23:05:28 +0200
committerMichael Adam <obnox@samba.org>2009-08-09 23:05:28 +0200
commit00fd84586c5baebe21c4b20b70ddc7d2624d215a (patch)
treee98667417a94743ec150aa197d46be3f5e1c49fd
parented23ceef64695717d99732f790bb5d075c9a3c7d (diff)
downloadtinyproxy-00fd84586c5baebe21c4b20b70ddc7d2624d215a.tar.gz
tinyproxy-00fd84586c5baebe21c4b20b70ddc7d2624d215a.zip
Fix implicit cast warning in extract_ssl_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 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;