diff options
Diffstat (limited to 'compiler-rt/lib/ucmpdi2.c')
-rw-r--r-- | compiler-rt/lib/ucmpdi2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/ucmpdi2.c b/compiler-rt/lib/ucmpdi2.c index 4f0382d82ca..d2900cae436 100644 --- a/compiler-rt/lib/ucmpdi2.c +++ b/compiler-rt/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; } |