Fix an implicit cast warning in initialize_conn().

Michael
This commit is contained in:
Michael Adam committed 2009-08-07 09:12:42 +02:00
1 parent 02e7bc7545
commit 181b03d729
1 file changed
+1 -1
+1 -1
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;