]> git.llucax.com Git - software/eventxx.git/commitdiff
Fix another inconsistency with eventxx::type vs. short.
authorLeandro Lucarella <llucarella@integratech.com.ar>
Thu, 22 Mar 2007 21:06:01 +0000 (21:06 +0000)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Thu, 22 Mar 2007 21:06:01 +0000 (21:06 +0000)
eventxx

diff --git a/eventxx b/eventxx
index d599f6472f7350322042e7845845aa845f7f3757..ad2380671b6039fd7c0d859d3c62a3469a0434b4 100644 (file)
--- a/eventxx
+++ b/eventxx
@@ -1007,7 +1007,7 @@ struct dispatcher
        protected:
                internal::event_base* _event_base;
                template < typename F >
        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));
                {
                        F& handler = *reinterpret_cast< F* >(h);
                        handler(fd, *reinterpret_cast< type* >(&ev));