aboutsummaryrefslogtreecommitdiff
path: root/lib/multi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/multi3.c')
-rw-r--r--lib/multi3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi3.c b/lib/multi3.c
index 9ba730e48..13a386781 100644
--- a/lib/multi3.c
+++ b/lib/multi3.c
@@ -50,8 +50,8 @@ __multi3(ti_int a, ti_int b)
twords y;
y.all = b;
twords r;
- r.all = __mulddi3(x.low, y.low);
- r.s.high += x.high * y.low + x.low * y.high;
+ r.all = __mulddi3(x.s.low, y.s.low);
+ r.s.high += x.s.high * y.s.low + x.s.low * y.s.high;
return r.all;
}