From 8f955d55437d9038de701d1531243ef868a57206 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 4 Aug 2009 14:51:22 +0200 Subject: child: add explicit cast in child_main(). Michael --- src/child.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/child.c b/src/child.c index 716743d..bfa03ab 100644 --- a/src/child.c +++ b/src/child.c @@ -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."); -- cgit v1.2.3