mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 07:06:36 +00:00
- 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…
x
Reference in New Issue
Block a user