summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 09:12:42 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 09:12:42 +0200
commit181b03d729e59720af4a65470a8f9f1ceb293976 (patch)
tree69988789a26a63fe07226ab09439c2169f88ce3f
parent02e7bc7545d8d1b1d4f61882ec5359acb05b9176 (diff)
downloadtinyproxy-181b03d729e59720af4a65470a8f9f1ceb293976.tar.gz
tinyproxy-181b03d729e59720af4a65470a8f9f1ceb293976.zip
Fix an implicit cast warning in initialize_conn().
Michael
Diffstat (limited to '')
-rw-r--r--src/conns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conns.c b/src/conns.c
index 3dc0575..2339dd1 100644
--- a/src/conns.c
+++ b/src/conns.c
@@ -51,7 +51,7 @@ initialize_conn (int client_fd, const char *ipaddr, const char *string_addr,
/*
* Allocate the space for the conn_s structure itself.
*/
- connptr = safemalloc (sizeof (struct conn_s));
+ connptr = (struct conn_s *)safemalloc (sizeof (struct conn_s));
if (!connptr)
goto error_exit;