summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;