Fix a windows compilation regression

This is github issue #57; reported by "efekty". I assume the compiler
is MSVC.
This commit is contained in:
Nick Mathewson 2013-04-30 22:57:25 -04:00
parent 9e3a99cad7
commit f2925d78b6

View File

@ -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);