summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-05-15 11:58:37 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-05-15 11:58:37 +0000
commit8bd9107175852e2ec42e66404d7da1b2d23ec764 (patch)
treebd9bea0268362f6fbc6c9705fb562e71b89b17a9 /libc/sysdeps/linux/common
parent22a4424b0b32a898950b917af834967c2672fb9e (diff)
Made it compile again.
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/mmap64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c
index 85b0a6f17..3156f4350 100644
--- a/libc/sysdeps/linux/common/mmap64.c
+++ b/libc/sysdeps/linux/common/mmap64.c
@@ -63,7 +63,7 @@ __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t
fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
#else
return __syscall_mmap2(addr, len, prot, flags,
- fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT));
+ fd,((__u_long)offset >> MMAP2_PAGE_SHIFT));
#endif
}