Change the definition of sdata from u_long --> intptr_t to correctly
match the data type in struct kevent.
This commit is contained in:
parent
817ed7c2de
commit
6ceb62e3d6
@ -121,7 +121,7 @@ struct knote {
|
||||
struct kevent kn_kevent;
|
||||
int kn_status;
|
||||
int kn_sfflags; /* saved filter flags */
|
||||
u_long kn_sdata; /* saved data field */
|
||||
intptr_t kn_sdata; /* saved data field */
|
||||
union {
|
||||
struct file *p_fp; /* file data pointer */
|
||||
struct proc *p_proc; /* proc pointer */
|
||||
|
Loading…
Reference in New Issue
Block a user