mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
INTERNAL_SYSCALL.
This commit is contained in:
parent
5220f9ace4
commit
b27b002d5b
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user