summaryrefslogtreecommitdiff
path: root/lib/lshrdi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lshrdi3.c')
-rw-r--r--lib/lshrdi3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lshrdi3.c b/lib/lshrdi3.c
index b3b31bf0..57484ee7 100644
--- a/lib/lshrdi3.c
+++ b/lib/lshrdi3.c
@@ -27,15 +27,15 @@ __lshrdi3(di_int a, si_int b)
input.all = a;
if (b & bits_in_word) /* bits_in_word <= b < bits_in_dword */
{
- result.high = 0;
- result.low = input.high >> (b - bits_in_word);
+ result.s.high = 0;
+ result.s.low = input.s.high >> (b - bits_in_word);
}
else /* 0 <= b < bits_in_word */
{
if (b == 0)
return a;
- result.high = input.high >> b;
- result.low = (input.high << (bits_in_word - b)) | (input.low >> b);
+ result.s.high = input.s.high >> b;
+ result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b);
}
return result.all;
}