change {u}long -> {u}intptr_t to make it clear that these fields
may also contain pointers as well.
This commit is contained in:
parent
b314931dd0
commit
94f7814e2b
@ -39,11 +39,11 @@
|
|||||||
#define EVFILT_SYSCOUNT 6
|
#define EVFILT_SYSCOUNT 6
|
||||||
|
|
||||||
struct kevent {
|
struct kevent {
|
||||||
u_long ident; /* identifier for this event */
|
uintptr_t ident; /* identifier for this event */
|
||||||
short filter; /* filter for event */
|
short filter; /* filter for event */
|
||||||
u_short flags;
|
u_short flags;
|
||||||
u_int fflags;
|
u_int fflags;
|
||||||
long data;
|
intptr_t data;
|
||||||
void *udata; /* opaque user data identifier */
|
void *udata; /* opaque user data identifier */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user