From: Leandro Lucarella Date: Thu, 22 Mar 2007 21:06:01 +0000 (+0000) Subject: Fix another inconsistency with eventxx::type vs. short. X-Git-Tag: 0.3~2 X-Git-Url: https://git.llucax.com/software/eventxx.git/commitdiff_plain/db68e3cbf30676b02e11c88be235d62914d55cae Fix another inconsistency with eventxx::type vs. short. --- 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));