aboutsummaryrefslogtreecommitdiff
path: root/lib/mulsf3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mulsf3.c')
-rw-r--r--lib/mulsf3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mulsf3.c b/lib/mulsf3.c
index fce2fd4fb2a3..861a9ba5f90d 100644
--- a/lib/mulsf3.c
+++ b/lib/mulsf3.c
@@ -15,7 +15,7 @@
#define SINGLE_PRECISION
#include "fp_lib.h"
-ARM_EABI_FNALIAS(fmul, mulsf3);
+ARM_EABI_FNALIAS(fmul, mulsf3)
COMPILER_RT_ABI fp_t
__mulsf3(fp_t a, fp_t b) {
@@ -92,7 +92,7 @@ __mulsf3(fp_t a, fp_t b) {
if (productExponent <= 0) {
// Result is denormal before rounding, the exponent is zero and we
// need to shift the significand.
- wideRightShiftWithSticky(&productHi, &productLo, 1 - productExponent);
+ wideRightShiftWithSticky(&productHi, &productLo, 1U - (unsigned)productExponent);
}
else {