child: add explicit cast in child_main().

Michael
This commit is contained in:
Michael Adam 2009-08-04 14:51:22 +02:00
parent 50dbd61063
commit 8f955d5543

View File

@ -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.");