From 43fcc9ea3715e4de323eef9a0984a212899d4651 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 9 Aug 2009 23:06:31 +0200 Subject: Fix implicit cast warning in upstream_add(). Michael --- src/reqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reqs.c b/src/reqs.c index 39f3166..466eff7 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -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) { -- cgit v1.2.3