From 735c9cb70f7f43251984fb5d5999e4c7bdb6d873 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 10 Sep 2009 22:12:16 +0200 Subject: reqs.c: fix two implicit cast warnings. Michael --- src/reqs.c | 4 ++-- 1 file 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; -- cgit v1.2.3