mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-24 12:25:35 +08:00
aarch64: Resolve implict cast warning.
This commit is contained in:
parent
443d9489b1
commit
bb3c2a5391
@ -1,3 +1,7 @@
|
||||
2012-12-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/aarch64/mmap.c (mmap): Cast return value.
|
||||
|
||||
2012-12-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||
|
||||
* sysdeps/aarch64/dl-machine.h (elf_machine_rela): Remove
|
||||
|
@ -26,7 +26,7 @@
|
||||
__ptr_t
|
||||
__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
|
||||
{
|
||||
return INLINE_SYSCALL (mmap, 6, addr, len, prot, flags, fd, offset);
|
||||
return (__ptr_t) INLINE_SYSCALL (mmap, 6, addr, len, prot, flags, fd, offset);
|
||||
}
|
||||
|
||||
weak_alias (__mmap, mmap)
|
||||
|
Loading…
Reference in New Issue
Block a user