Fix implicit cast warning in upstream_add().
Michael
This commit is contained in:
1 parent
00fd84586c
commit
43fcc9ea37
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user