child: add explicit cast in child_main().

Michael
This commit is contained in:
Michael Adam committed 2009-08-04 23:47:28 +02:00
1 parent 50dbd61063
commit 8f955d5543
1 file changed
+1 -1
+1 -1
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.");