Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/reds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/reds.c b/server/reds.c index 4645f1c6..80a1ae34 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3004,7 +3004,7 @@ static void migrate_timeout(void *opaque) uint32_t reds_get_mm_time(void) { - return g_get_monotonic_time() / 1000; + return g_get_monotonic_time() / MSEC_PER_SEC; } void reds_enable_mm_time(RedsState *reds) -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel