- use the correct type (__u_long is correct, __ulong_t is not typed)
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 26 Aug 2007 20:40:31 +0000 (20:40 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 26 Aug 2007 20:40:31 +0000 (20:40 -0000)
toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch

index af38be30975cbc2b1eb55a525e3fe56db06ac4dd..4775e8c332c83f4fcf84f3c2e61b05760c5e6dd3 100644 (file)
@@ -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
  }