diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 09:12:42 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 09:12:42 +0200 |
commit | 181b03d729e59720af4a65470a8f9f1ceb293976 (patch) | |
tree | 69988789a26a63fe07226ab09439c2169f88ce3f | |
parent | 02e7bc7545d8d1b1d4f61882ec5359acb05b9176 (diff) | |
download | tinyproxy-181b03d729e59720af4a65470a8f9f1ceb293976.tar.gz tinyproxy-181b03d729e59720af4a65470a8f9f1ceb293976.zip |
Fix an implicit cast warning in initialize_conn().
Michael
Diffstat (limited to '')
-rw-r--r-- | src/conns.c | 2 |
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; |