summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--syncconst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncconst.h b/syncconst.h
index 2ad5db7..926b60c 100644
--- a/syncconst.h
+++ b/syncconst.h
@@ -113,7 +113,7 @@ PERFORMANCE OF THIS SOFTWARE.
Bool signb = XSyncValueIsNegative(b);\
((presult)->lo = (a).lo - (b).lo);\
((presult)->hi = (a).hi - (b).hi);\
- if (t>(presult)->lo) (presult)->hi--;\
+ if (t<(presult)->lo) (presult)->hi--;\
*poverflow = ((signa == signb) && !(signa == XSyncValueIsNegative(*presult)));\
}
#define _XSyncMaxValue(pv) ((pv)->hi = 0x7fffffff, (pv)->lo = 0xffffffff)