summaryrefslogtreecommitdiff
path: root/strtof.c
diff options
context:
space:
mode:
Diffstat (limited to 'strtof.c')
-rw-r--r--strtof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strtof.c b/strtof.c
index f8111b716c21..a8beb3520a01 100644
--- a/strtof.c
+++ b/strtof.c
@@ -58,7 +58,7 @@ strtof(CONST char *s, char **sp)
case STRTOG_Normal:
case STRTOG_NaNbits:
- u.L[0] = bits[0] & 0x7fffff | exp + 0x7f + 23 << 23;
+ u.L[0] = (bits[0] & 0x7fffff) | ((exp + 0x7f + 23) << 23);
break;
case STRTOG_Denormal: