child: add explicit cast in child_main().
Michael
This commit is contained in:
parent
50dbd61063
commit
8f955d5543
@ -179,7 +179,7 @@ child_main (struct child_s *ptr)
|
||||
struct sockaddr *cliaddr;
|
||||
socklen_t clilen;
|
||||
|
||||
cliaddr = safemalloc (addrlen);
|
||||
cliaddr = (struct sockaddr *)safemalloc (addrlen);
|
||||
if (!cliaddr)
|
||||
{
|
||||
log_message (LOG_CRIT, "Could not allocate memory for child address.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user