summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
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)
{