summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-26 20:40:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-26 20:40:31 +0000
commitdf23b56837086ff890e21e8f690356498343be7d (patch)
treef01657546b4925bd09f8ab3fdab3f6fec7d7715f /toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
parentb690801c78e33e1d7a8e54fe4d06f300bfa518b4 (diff)
downloadbuildroot-novena-df23b56837086ff890e21e8f690356498343be7d.tar.gz
buildroot-novena-df23b56837086ff890e21e8f690356498343be7d.zip
- use the correct type (__u_long is correct, __ulong_t is not typed)
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch')
-rw-r--r--toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch b/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
index af38be309..4775e8c33 100644
--- a/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
+++ b/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
@@ -84,7 +84,7 @@
+ 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
}