about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-23 09:56:22 +0000
committerRoland McGrath <roland@gnu.org>2002-12-23 09:56:22 +0000
commitb27b002d5b85b8628f19f65886d25a342c6cbc18 (patch)
treeb4df88c02a62659f1c9e5f475b5a61415669ae04
parent5220f9ace442d174ca2ffe952b23d11b2334e427 (diff)
downloadglibc-b27b002d5b85b8628f19f65886d25a342c6cbc18.tar.gz
glibc-b27b002d5b85b8628f19f65886d25a342c6cbc18.tar.xz
glibc-b27b002d5b85b8628f19f65886d25a342c6cbc18.zip
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
	INTERNAL_SYSCALL.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/i386/brk.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a329d9a45..5fdb8d9316 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-19  Roland McGrath  <roland@redhat.com>
+
+	* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
+	INTERNAL_SYSCALL.
+
 2002-12-21  Andreas Schwab  <schwab@suse.de>
 
 	* elf/check-textrel.c (handle_file): Swap p_type.
diff --git a/sysdeps/unix/sysv/linux/i386/brk.c b/sysdeps/unix/sysv/linux/i386/brk.c
index 9219e1a48f..c71a1fbf08 100644
--- a/sysdeps/unix/sysv/linux/i386/brk.c
+++ b/sysdeps/unix/sysv/linux/i386/brk.c
@@ -36,7 +36,7 @@ __brk (void *addr)
 {
   void *__unbounded newbrk;
 
-  newbrk = INTERNAL_SYSCALL (brk, 1, __ptrvalue (addr));
+  newbrk = (void *__unbounded) INTERNAL_SYSCALL (brk, 1, __ptrvalue (addr));
 
   __curbrk = newbrk;