Fix an implicit cast warning in initialize_conn().

Michael
This commit is contained in:
Michael Adam 2009-08-07 09:12:42 +02:00
parent 02e7bc7545
commit 181b03d729

View File

@ -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. * 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) if (!connptr)
goto error_exit; goto error_exit;