]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 1 Nov 2000 19:15:39 +0000 (19:15 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 1 Nov 2000 19:15:39 +0000 (19:15 +0000)
* 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.

ChangeLog
stdlib/strtod.c
sysdeps/unix/sysv/linux/bits/socket.h

index 1e4a4beefa68481c95f5542319ae0f069afc492d..9f6b45ba7202094f3d3306c3358bc61755936c34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2000-11-01  Ulrich Drepper  <drepper@redhat.com>
 
+       * 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.
+
        * sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin
        unordered compare functions to gcc 2.97 and up.
 
index d15237125e98cc2661caa3c93a3d68e207599e94..62a4c9996ed29b55c824ae5e14886c044532ae4c 100644 (file)
@@ -1051,7 +1051,7 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM)
                  numsize += size;
                  if (cy == 0)
                    --numsize;
-                 SWAP (psrc, pdest);
+                 (void) SWAP (psrc, pdest);
                }
              expbit <<= 1;
              ++ttab;
@@ -1214,7 +1214,7 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM)
                densize += ttab->arraysize - _FPIO_CONST_OFFSET;
                if (cy == 0)
                  --densize;
-               SWAP (psrc, pdest);
+               (void) SWAP (psrc, pdest);
              }
          }
        expbit <<= 1;
index accfdee5311a4bbbe61b0eadebcf84d8f0b8a408..98e5b65ac7a714f274cb53e3a60d63addbc67396 100644 (file)
@@ -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))