diff options
author | Marcus Shawcroft <marcus.shawcroft@linaro.org> | 2012-12-07 12:31:29 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@linaro.org> | 2012-12-07 12:31:29 +0000 |
commit | bb3c2a5391c7bed289bc855036a06a507d988e0d (patch) | |
tree | fdd45ff3ace9d0677f0373a6255fc6ebeba52525 | |
parent | 443d9489b15400b9c1baa4df67fd2061a50d7304 (diff) | |
download | glibc-bb3c2a5391c7bed289bc855036a06a507d988e0d.tar.gz glibc-bb3c2a5391c7bed289bc855036a06a507d988e0d.tar.xz glibc-bb3c2a5391c7bed289bc855036a06a507d988e0d.zip |
aarch64: Resolve implict cast warning.
-rw-r--r-- | ports/ChangeLog.aarch64 | 4 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/mmap.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64 index ec3dcafb8b..cde121efc2 100644 --- a/ports/ChangeLog.aarch64 +++ b/ports/ChangeLog.aarch64 @@ -1,5 +1,9 @@ 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 strtab. diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/mmap.c b/ports/sysdeps/unix/sysv/linux/aarch64/mmap.c index 14f3f6c6a5..05df25cd32 100644 --- a/ports/sysdeps/unix/sysv/linux/aarch64/mmap.c +++ b/ports/sysdeps/unix/sysv/linux/aarch64/mmap.c @@ -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) |