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 /ports/sysdeps/unix/sysv | |
parent | 443d9489b15400b9c1baa4df67fd2061a50d7304 (diff) | |
download | glibc-bb3c2a5391c7bed289bc855036a06a507d988e0d.tar.gz glibc-bb3c2a5391c7bed289bc855036a06a507d988e0d.tar.xz glibc-bb3c2a5391c7bed289bc855036a06a507d988e0d.zip |
aarch64: Resolve implict cast warning.
Diffstat (limited to 'ports/sysdeps/unix/sysv')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |