summaryrefslogtreecommitdiff
path: root/stdio-common/_itoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/_itoa.c')
-rw-r--r--stdio-common/_itoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c
index e5705d54b2..845928903c 100644
--- a/stdio-common/_itoa.c
+++ b/stdio-common/_itoa.c
@@ -196,7 +196,7 @@ _itoa (value, buflim, base, upper_case)
if (BITS_PER_MP_LIMB % BITS != 0) \
{ \
work_lo |= ((work_hi \
- & ((1 << BITS - BITS_PER_MP_LIMB % BITS) \
+ & ((1 << (BITS - BITS_PER_MP_LIMB%BITS)) \
- 1)) \
<< BITS_PER_MP_LIMB % BITS); \
*--bp = digits[work_lo]; \