diff options
Diffstat (limited to 'lib/ucmpti2.c')
-rw-r--r-- | lib/ucmpti2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ucmpti2.c b/lib/ucmpti2.c index ba32b840..0e7eea3e 100644 --- a/lib/ucmpti2.c +++ b/lib/ucmpti2.c @@ -28,13 +28,13 @@ __ucmpti2(tu_int a, tu_int b) x.all = a; utwords y; y.all = b; - if (x.high < y.high) + if (x.s.high < y.s.high) return 0; - if (x.high > y.high) + if (x.s.high > y.s.high) return 2; - if (x.low < y.low) + if (x.s.low < y.s.low) return 0; - if (x.low > y.low) + if (x.s.low > y.s.low) return 2; return 1; } |