Fix implicit cast warning in upstream_add().

Michael
This commit is contained in:
Michael Adam 2009-08-09 23:06:31 +02:00
parent 00fd84586c
commit 43fcc9ea37

View File

@ -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)
{