summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-10 22:12:16 +0200
committerMichael Adam <obnox@samba.org>2009-09-10 22:12:16 +0200
commit735c9cb70f7f43251984fb5d5999e4c7bdb6d873 (patch)
treefc5ca50939b1de3bdbeadb987d057618e6a51d67
parent408c781d14377faf1e98e0eebdd8724844debeac (diff)
reqs.c: fix two implicit cast warnings.
Michael
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index c5217e9..a4df044 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1592,7 +1592,7 @@ connect_to_upstream (struct conn_s *connptr, struct request_s *request)
{
len = strlen (request->host) + 7;
- combined_string = safemalloc (len);
+ combined_string = (char *)safemalloc (len);
if (!combined_string)
{
return -1;
@@ -1603,7 +1603,7 @@ connect_to_upstream (struct conn_s *connptr, struct request_s *request)
else
{
len = strlen (request->host) + strlen (request->path) + 14;
- combined_string = safemalloc (len);
+ combined_string = (char *)safemalloc (len);
if (!combined_string)
{
return -1;