summaryrefslogtreecommitdiff
path: root/lib/cmpdi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cmpdi2.c')
-rw-r--r--lib/cmpdi2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cmpdi2.c b/lib/cmpdi2.c
index ece48ae9..0b873524 100644
--- a/lib/cmpdi2.c
+++ b/lib/cmpdi2.c
@@ -26,13 +26,13 @@ __cmpdi2(di_int a, di_int b)
x.all = a;
dwords 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;
}