diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 14:51:22 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:28 +0200 |
commit | 8f955d55437d9038de701d1531243ef868a57206 (patch) | |
tree | fa4423ef5ae810bf110b9dd7689f62f5278f6555 | |
parent | 50dbd61063b6775bc70ac8e8a6bc4eaf629c44aa (diff) |
child: add explicit cast in child_main().
Michael
-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."); |