diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-03-20 20:43:41 +0100 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-03-20 20:43:41 +0100 |
commit | a6c059203b51ad801484b125ec4e45296b3f1aea (patch) | |
tree | 6330463bc90c92180298a7326a352e51658b36df /initd/main.c | |
parent | e21840cfced42425b9e742fbd199a19369d0b614 (diff) |
Fix warnings from gcc 8.3 + musl build
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/main.c')
-rw-r--r-- | initd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/main.c b/initd/main.c index 9432042..3a824e4 100644 --- a/initd/main.c +++ b/initd/main.c @@ -51,7 +51,7 @@ retry: memset(&rq, 0, sizeof(rq)); addrlen = sizeof(addr); ret = recvfrom(sockfd, &rq, sizeof(rq), MSG_DONTWAIT | MSG_TRUNC, - &addr, &addrlen); + (struct sockaddr *)&addr, &addrlen); if (ret < 0 && errno == EINTR) goto retry; |