summaryrefslogtreecommitdiffstats
path: root/lib/adddf3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/adddf3.c')
-rw-r--r--lib/adddf3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/adddf3.c b/lib/adddf3.c
index 7eb40a1..a55e82d 100644
--- a/lib/adddf3.c
+++ b/lib/adddf3.c
@@ -15,7 +15,7 @@
#define DOUBLE_PRECISION
#include "fp_lib.h"
-ARM_EABI_FNALIAS(dadd, adddf3);
+ARM_EABI_FNALIAS(dadd, adddf3)
COMPILER_RT_ABI fp_t
__adddf3(fp_t a, fp_t b) {
@@ -85,7 +85,7 @@ __adddf3(fp_t a, fp_t b) {
// Shift the significand of b by the difference in exponents, with a sticky
// bottom bit to get rounding correct.
- const int align = aExponent - bExponent;
+ const unsigned int align = aExponent - bExponent;
if (align) {
if (align < typeWidth) {
const bool sticky = bSignificand << (typeWidth - align);
OpenPOWER on IntegriCloud