aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-01 19:15:39 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-01 19:15:39 +0000
commit7c4c1a09164ce5dc132a9a67cebd28f5b8619c24 (patch)
tree8ad814c704ea57f06e89feeb198ab62165fff14b /sysdeps
parenta720a3acebb4ae496c0dee2e029b03525ea1986e (diff)
downloadglibc-7c4c1a09164ce5dc132a9a67cebd28f5b8619c24.tar
glibc-7c4c1a09164ce5dc132a9a67cebd28f5b8619c24.tar.gz
glibc-7c4c1a09164ce5dc132a9a67cebd28f5b8619c24.tar.bz2
glibc-7c4c1a09164ce5dc132a9a67cebd28f5b8619c24.zip
Update.
* sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result of unary ~ to size_t. * stdlib/strtod.c: Make gcc shut up about SWAP use.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index accfdee531..98e5b65ac7 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -244,7 +244,7 @@ struct cmsghdr
((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \
? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) NULL)
#define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \
- & ~(sizeof (size_t) - 1))
+ & (size_t) ~(sizeof (size_t) - 1))
#define CMSG_SPACE(len) (CMSG_ALIGN (len) \
+ CMSG_ALIGN (sizeof (struct cmsghdr)))
#define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))