diff options
-rw-r--r-- | src/child.c | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |