internal/syscall.h: use a macro for the syscall args casts
this allows syscall_arch.h to define the macro __scc if special casting is needed, as is the case for x32, where the actual syscall arguments are 64bit, but, in case of pointers, would get sign-extended and thus become invalid.
Showing
想要评论请 注册 或 登录