diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-23 09:56:22 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-23 09:56:22 +0000 |
commit | b27b002d5b85b8628f19f65886d25a342c6cbc18 (patch) | |
tree | b4df88c02a62659f1c9e5f475b5a61415669ae04 | |
parent | 5220f9ace442d174ca2ffe952b23d11b2334e427 (diff) | |
download | glibc-b27b002d5b85b8628f19f65886d25a342c6cbc18.zip glibc-b27b002d5b85b8628f19f65886d25a342c6cbc18.tar.gz glibc-b27b002d5b85b8628f19f65886d25a342c6cbc18.tar.bz2 |
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
INTERNAL_SYSCALL.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/brk.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 9219e1a..c71a1fb 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; |