浏览代码

- use the correct type (__u_long is correct, __ulong_t is not typed)

Bernhard Reutner-Fischer 18 年之前
父节点
当前提交
df23b56837
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch

+ 1 - 1
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
  }