- use the correct type (__u_long is correct, __ulong_t is not typed)
This commit is contained in:
parent
b690801c78
commit
df23b56837
|
@ -84,7 +84,7 @@
|
||||||
+ fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
|
+ fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
|
||||||
+#else
|
+#else
|
||||||
+ return __syscall_mmap2(addr, len, prot, flags,
|
+ return __syscall_mmap2(addr, len, prot, flags,
|
||||||
+ fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT));
|
+ fd,((__u_long)offset >> MMAP2_PAGE_SHIFT));
|
||||||
+#endif
|
+#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue