Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/reds-private.h | 2 +- server/reds.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/reds-private.h b/server/reds-private.h index 26b7435..b289267 100644 --- a/server/reds-private.h +++ b/server/reds-private.h @@ -122,7 +122,7 @@ struct RedsState { * client, being passed to the guest */ SpiceBuffer client_monitors_config; - int mm_time_enabled; + bool mm_time_enabled; uint32_t mm_time_latency; SpiceCharDeviceInstance *vdagent; diff --git a/server/reds.c b/server/reds.c index a569a6e..7363735 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3025,14 +3025,14 @@ uint32_t reds_get_mm_time(void) void reds_enable_mm_time(RedsState *reds) { - reds->mm_time_enabled = TRUE; + reds->mm_time_enabled = true; reds->mm_time_latency = MM_TIME_DELTA; reds_send_mm_time(reds); } void reds_disable_mm_time(RedsState *reds) { - reds->mm_time_enabled = FALSE; + reds->mm_time_enabled = false; } static RedCharDevice *attach_to_red_agent(RedsState *reds, SpiceCharDeviceInstance *sin) -- 2.9.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel