For dispatcher_register_handler(), use 'false' instead of 0 since the last argument is a bool type now. Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- Changes since v2: - new patch server/main-dispatcher.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/main-dispatcher.c b/server/main-dispatcher.c index 71f8f65d9..43f8b79a7 100644 --- a/server/main-dispatcher.c +++ b/server/main-dispatcher.c @@ -314,16 +314,16 @@ void main_dispatcher_constructed(GObject *object) DISPATCHER(self)); dispatcher_register_handler(DISPATCHER(self), MAIN_DISPATCHER_CHANNEL_EVENT, main_dispatcher_handle_channel_event, - sizeof(MainDispatcherChannelEventMessage), 0 /* no ack */); + sizeof(MainDispatcherChannelEventMessage), false); dispatcher_register_handler(DISPATCHER(self), MAIN_DISPATCHER_MIGRATE_SEAMLESS_DST_COMPLETE, main_dispatcher_handle_migrate_complete, - sizeof(MainDispatcherMigrateSeamlessDstCompleteMessage), 0 /* no ack */); + sizeof(MainDispatcherMigrateSeamlessDstCompleteMessage), false); dispatcher_register_handler(DISPATCHER(self), MAIN_DISPATCHER_SET_MM_TIME_LATENCY, main_dispatcher_handle_mm_time_latency, - sizeof(MainDispatcherMmTimeLatencyMessage), 0 /* no ack */); + sizeof(MainDispatcherMmTimeLatencyMessage), false); dispatcher_register_handler(DISPATCHER(self), MAIN_DISPATCHER_CLIENT_DISCONNECT, main_dispatcher_handle_client_disconnect, - sizeof(MainDispatcherClientDisconnectMessage), 0 /* no ack */); + sizeof(MainDispatcherClientDisconnectMessage), false); } static void main_dispatcher_finalize(GObject *object) -- 2.13.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel