From 181b03d729e59720af4a65470a8f9f1ceb293976 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 09:12:42 +0200 Subject: Fix an implicit cast warning in initialize_conn(). Michael --- src/conns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3