Fix an implicit cast warning in initialize_conn().
Michael
This commit is contained in:
parent
02e7bc7545
commit
181b03d729
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user