From: Bernhard Reutner-Fischer Date: Sun, 26 Aug 2007 20:40:31 +0000 (-0000) Subject: - use the correct type (__u_long is correct, __ulong_t is not typed) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df23b56837086ff890e21e8f690356498343be7d;p=buildroot.git - use the correct type (__u_long is correct, __ulong_t is not typed) --- 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 af38be3097..4775e8c332 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 }