--- 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?