From f2925d78b690bb3f17236483d6c60ab868c60e87 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 30 Apr 2013 22:57:25 -0400 Subject: [PATCH] Fix a windows compilation regression This is github issue #57; reported by "efekty". I assume the compiler is MSVC. --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index 27d1f818..5a577e9f 100644 --- a/event.c +++ b/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); -- 2.40.0