child: add explicit cast in child_main().
Michael
This commit is contained in:
1 parent
50dbd61063
commit
8f955d5543
1 file changed
+1
-1
+1
-1
@@ -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.");
|
||||
|
||||
Reference in new issue
Block a user