src/server/daemon/event_bsd.c

changeset 112
b962d83124bc
parent 111
c93be34fde76
child 133
87b405d61f64
--- a/src/server/daemon/event_bsd.c	Tue Nov 10 21:11:06 2015 +0100
+++ b/src/server/daemon/event_bsd.c	Tue Nov 10 21:18:51 2015 +0100
@@ -101,7 +101,7 @@
         }
         
         for(int i=0;i<nev;i++) {
-            event_t *event = events[i].udata;
+            event_t *event = (event_t*)events[i].udata;
             if(event->fn) {
                 if(event->fn(ev, event)) {
                     // TODO: reassociate?               

mercurial