Fix implicit cast warning in upstream_add().
Michael
This commit is contained in:
parent
00fd84586c
commit
43fcc9ea37
@ -326,7 +326,7 @@ void
|
||||
upstream_add (const char *host, int port, const char *domain)
|
||||
{
|
||||
char *ptr;
|
||||
struct upstream *up = safemalloc (sizeof (struct upstream));
|
||||
struct upstream *up = (struct upstream *)safemalloc(sizeof (struct upstream));
|
||||
|
||||
if (!up)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user