Fix an implicit cast warning in initialize_conn().

Michael
master
Michael Adam 2009-08-07 09:12:42 +02:00
parent 02e7bc7545
commit 181b03d729
1 changed files with 1 additions and 1 deletions

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.
*/
connptr = safemalloc (sizeof (struct conn_s));
connptr = (struct conn_s *)safemalloc (sizeof (struct conn_s));
if (!connptr)
goto error_exit;