--- sync.h 2004-04-23 14:43:06.000000000 -0400 +++ sync_fixed.h 2008-06-05 04:46:18.937500000 -0400 @@ -254,7 +254,7 @@ _XFUNCPROTOEND 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)