Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/tests/basic-event-loop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/tests/basic-event-loop.c b/server/tests/basic-event-loop.c index 607a5a5e..76b0580e 100644 --- a/server/tests/basic-event-loop.c +++ b/server/tests/basic-event-loop.c @@ -98,7 +98,8 @@ static void base_timer_remove(SpiceTimer *timer) static SpiceWatch *base_watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque) { - return base_core_interface.watch_add(&base_core_interface, fd, event_mask, func, opaque); + return base_core_interface.watch_add(&base_core_interface, SOCKET_FROM_INT(fd), event_mask, + func, opaque); } static void base_watch_update_mask(SpiceWatch *watch, int event_mask) -- 2.17.2 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel