Fix EV_SET 0 length on 32-bit BSD
This commit is contained in:
parent
a94b1b0af4
commit
5865e355cd
@ -84,12 +84,12 @@ enum : short
|
|||||||
|
|
||||||
struct kevent_t
|
struct kevent_t
|
||||||
{
|
{
|
||||||
uintptr_t ident; /* identifier for this event */
|
uintptr_t ident; // Identifier for this event
|
||||||
short filter; /* filter for event */
|
short filter; // Filter for event
|
||||||
ushort flags;
|
ushort flags;
|
||||||
uint fflags;
|
uint fflags;
|
||||||
intptr_t data;
|
intptr_t data;
|
||||||
void *udata; /* opaque user data identifier */
|
void* udata; // Opaque user data identifier
|
||||||
}
|
}
|
||||||
|
|
||||||
enum
|
enum
|
||||||
@ -168,7 +168,7 @@ final class KqueueLoop : SelectorLoop
|
|||||||
filter,
|
filter,
|
||||||
flags,
|
flags,
|
||||||
0U,
|
0U,
|
||||||
0L,
|
0,
|
||||||
null);
|
null);
|
||||||
++changeCount;
|
++changeCount;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user