diff options
Diffstat (limited to 'lib/ucmpdi2.c')
-rw-r--r-- | lib/ucmpdi2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ucmpdi2.c b/lib/ucmpdi2.c index 4f0382d8..d2900cae 100644 --- a/lib/ucmpdi2.c +++ b/lib/ucmpdi2.c @@ -26,13 +26,13 @@ __ucmpdi2(du_int a, du_int b) x.all = a; udwords 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; } |