summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorDavid Weinehall <david.weinehall@linux.intel.com>2018-01-18 15:12:46 +0200
committerAdam Jackson <ajax@redhat.com>2018-01-18 14:08:46 -0500
commit528cf6fcee1839cb829652a49c1b1bf45d6a37fb (patch)
tree399e595fdcc77f1ac315497c8da022e581d7d8e1 /Xext
parent32b42627217917337553121191e9bc3b423b8d99 (diff)
sync: Fix diffgreater comparison
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.weinehall@linux.intel.com> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext')
-rw-r--r--Xext/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/sync.c b/Xext/sync.c
index 37d41f224..8f22a865b 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