about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;