diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-03-11 17:21:38 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-03-11 17:21:38 -0400 |
commit | 514c2dd24f07a81c6038d74c72f8996ad62b108f (patch) | |
tree | 49c5bc217c9c4feccbb405b95c0b1082809be52a | |
parent | ad66ae93d083ede90431bacf034f29ebd0815d73 (diff) | |
download | musl-514c2dd24f07a81c6038d74c72f8996ad62b108f.tar.gz musl-514c2dd24f07a81c6038d74c72f8996ad62b108f.tar.bz2 musl-514c2dd24f07a81c6038d74c72f8996ad62b108f.tar.xz musl-514c2dd24f07a81c6038d74c72f8996ad62b108f.zip |
fix socket.h struct msghdr member types on powerpc
these were incorrectly copied from the kernel, whose ABI matches the
POSIX requirements but with the wrong underlying types and wrong
signedness.
-rw-r--r-- | arch/powerpc/bits/socket.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/bits/socket.h b/arch/powerpc/bits/socket.h index ff9246a9..4ed04d36 100644 --- a/arch/powerpc/bits/socket.h +++ b/arch/powerpc/bits/socket.h @@ -1,12 +1,12 @@ struct msghdr { void *msg_name; - int msg_namelen; + socklen_t msg_namelen; struct iovec *msg_iov; - unsigned long msg_iovlen; + int msg_iovlen; void *msg_control; - unsigned long msg_controllen; - unsigned msg_flags; + socklen_t msg_controllen; + int msg_flags; }; struct cmsghdr |