From db68e3cbf30676b02e11c88be235d62914d55cae Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 22 Mar 2007 21:06:01 +0000 Subject: [PATCH] Fix another inconsistency with eventxx::type vs. short. --- eventxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventxx b/eventxx index d599f64..ad23806 100644 --- a/eventxx +++ b/eventxx @@ -1007,7 +1007,7 @@ struct dispatcher protected: internal::event_base* _event_base; template < typename F > - static void wrapper(int fd, type ev, void* h) + static void wrapper(int fd, short ev, void* h) { F& handler = *reinterpret_cast< F* >(h); handler(fd, *reinterpret_cast< type* >(&ev)); -- 2.43.0