Change the definition of sdata from u_long --> intptr_t to correctly

match the data type in struct kevent.
This commit is contained in:
jlemon 2000-05-04 20:14:57 +00:00
parent 817ed7c2de
commit 6ceb62e3d6

View File

@ -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 */