* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of

INTERNAL_SYSCALL.
This commit is contained in:
Roland McGrath 2002-12-23 09:56:22 +00:00
parent 5220f9ace4
commit b27b002d5b
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2002-12-21 Andreas Schwab <schwab@suse.de>
* elf/check-textrel.c (handle_file): Swap p_type. * elf/check-textrel.c (handle_file): Swap p_type.

View File

@ -36,7 +36,7 @@ __brk (void *addr)
{ {
void *__unbounded newbrk; void *__unbounded newbrk;
newbrk = INTERNAL_SYSCALL (brk, 1, __ptrvalue (addr)); newbrk = (void *__unbounded) INTERNAL_SYSCALL (brk, 1, __ptrvalue (addr));
__curbrk = newbrk; __curbrk = newbrk;