reqs.c: fix two implicit cast warnings.

Michael
This commit is contained in:
Michael Adam 2009-09-10 22:12:16 +02:00
parent 408c781d14
commit 735c9cb70f

View File

@ -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;