about summary refs log tree commit diff
path: root/stdlib/strtod.c
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 /stdlib/strtod.c
parenta720a3acebb4ae496c0dee2e029b03525ea1986e (diff)
downloadglibc-7c4c1a09164ce5dc132a9a67cebd28f5b8619c24.tar.gz
glibc-7c4c1a09164ce5dc132a9a67cebd28f5b8619c24.tar.xz
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 'stdlib/strtod.c')
-rw-r--r--stdlib/strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index d15237125e..62a4c9996e 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -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;