summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-09 23:06:31 +0200
committerMichael Adam <obnox@samba.org>2009-08-09 23:06:31 +0200
commit43fcc9ea3715e4de323eef9a0984a212899d4651 (patch)
treebb7da61d114bf2c0060e76f45e0a9408192cee3e /src
parent00fd84586c5baebe21c4b20b70ddc7d2624d215a (diff)
downloadtinyproxy-43fcc9ea3715e4de323eef9a0984a212899d4651.tar.gz
tinyproxy-43fcc9ea3715e4de323eef9a0984a212899d4651.zip
Fix implicit cast warning in upstream_add().
Michael
Diffstat (limited to 'src')
-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)
{