diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 22:08:27 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 22:08:27 +0000 |
commit | b5a884970d64d941896590b2f8c537c18eb02512 (patch) | |
tree | 22eb71f6262baf919147799f4bb4f3c5bb5191f7 | |
parent | a25d104d639983dfef18ee911d986c4179030073 (diff) | |
parent | 7f502f0aa68851dc073fbcf96ee52e2095000c6c (diff) |
Merge commit 'refs/top-bases/tschwinge/Roger_Whittaker' into tschwinge/Roger_Whittaker
-rw-r--r-- | sysdeps/mach/hurd/sendmsg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/sendmsg.c b/sysdeps/mach/hurd/sendmsg.c index fb3a14befe..4e95d79332 100644 --- a/sysdeps/mach/hurd/sendmsg.c +++ b/sysdeps/mach/hurd/sendmsg.c @@ -110,7 +110,7 @@ __libc_sendmsg (int fd, const struct msghdr *message, int flags) /* Allocate enough room for ports. */ cmsg = CMSG_FIRSTHDR (message); - for (; cmsg; cmsg = CMSG_NXTHDR (message, cmsg)) + for (; cmsg; cmsg = CMSG_NXTHDR ((struct msghdr *) message, cmsg)) if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) nports += (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) / sizeof (int); @@ -123,7 +123,7 @@ __libc_sendmsg (int fd, const struct msghdr *message, int flags) nports = 0; for (cmsg = CMSG_FIRSTHDR (message); cmsg; - cmsg = CMSG_NXTHDR (message, cmsg)) + cmsg = CMSG_NXTHDR ((struct msghdr *) message, cmsg)) { if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { |