xsync: Fix diffgreater comparison While transitioning from CARD64 to int64, the GreaterThan call was mistakenly transformed into ">=". Part of this was fixed already in commit 8060196a3e80a3c0ad2c0abbe459416821cd366c
This patch fixes the remaining issue. Signed-off-by: David Weinehall <david.weineh...@linux.intel.com> diff --git a/Xext/sync.c b/Xext/sync.c index 37d41f22410d..8f22a865bb35 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -660,7 +660,7 @@ SyncAwaitTriggerFired(SyncTrigger * pTrigger) */ if (overflow) continue; - diffgreater = diff >= pAwait->event_threshold; + diffgreater = diff > pAwait->event_threshold; diffequal = diff == pAwait->event_threshold; /* "If the test-type is PositiveTransition or _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel