aarch64: Resolve implict cast warning.

This commit is contained in:
Marcus Shawcroft 2012-12-07 12:31:29 +00:00
parent 443d9489b1
commit bb3c2a5391
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)