summaryrefslogtreecommitdiff
path: root/lib/ucmpti2.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-09-03 09:12:20 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-09-03 09:12:20 +0000
commitaabd961cc27f5d05f441375e5ba4242d63fea11f (patch)
tree319d56d8675641e611da11b3ad12f87801001cdd /lib/ucmpti2.c
parente8178e2a99ae5d7ccfe5882804a294fd0d3f453f (diff)
downloadcompiler-rt-aabd961cc27f5d05f441375e5ba4242d63fea11f.tar.gz
compiler-rt-aabd961cc27f5d05f441375e5ba4242d63fea11f.tar.bz2
compiler-rt-aabd961cc27f5d05f441375e5ba4242d63fea11f.tar.xz
Fix some files that got left behind in early changeset to unnamed unions fix. Credit to Roman Divacky.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ucmpti2.c')
-rw-r--r--lib/ucmpti2.c8
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;
}