aboutsummaryrefslogtreecommitdiff
path: root/lib/udivmodti4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/udivmodti4.c')
-rw-r--r--lib/udivmodti4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/udivmodti4.c b/lib/udivmodti4.c
index d1e19edd4c3b..427861b1e3d1 100644
--- a/lib/udivmodti4.c
+++ b/lib/udivmodti4.c
@@ -132,7 +132,7 @@ __udivmodti4(tu_int a, tu_int b, tu_int* rem)
*rem = n.s.low & (d.s.low - 1);
if (d.s.low == 1)
return n.all;
- unsigned sr = __builtin_ctzll(d.s.low);
+ sr = __builtin_ctzll(d.s.low);
q.s.high = n.s.high >> sr;
q.s.low = (n.s.high << (n_udword_bits - sr)) | (n.s.low >> sr);
return q.all;