mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Fix a windows compilation regression
This is github issue #57; reported by "efekty". I assume the compiler is MSVC.
This commit is contained in:
parent
9e3a99cad7
commit
f2925d78b6
2
event.c
2
event.c
@ -2048,7 +2048,7 @@ event_debug_unassign(struct event *ev)
|
||||
static int
|
||||
event_finalize_nolock_(struct event_base *base, unsigned flags, struct event *ev, event_finalize_callback_fn cb)
|
||||
{
|
||||
uint8_t closure = (flags & EVENT_FINALIZE_FREE_) ?
|
||||
ev_uint8_t closure = (flags & EVENT_FINALIZE_FREE_) ?
|
||||
EV_CLOSURE_EVENT_FINALIZE_FREE : EV_CLOSURE_EVENT_FINALIZE;
|
||||
|
||||
event_del_nolock_(ev, EVENT_DEL_NOBLOCK);
|
||||
|
Loading…
x
Reference in New Issue
Block a user