summaryrefslogtreecommitdiff
path: root/lib/libm/sf_modf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/sf_modf.c')
-rw-r--r--lib/libm/sf_modf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libm/sf_modf.c b/lib/libm/sf_modf.c
index 410db2a37..7c1b81399 100644
--- a/lib/libm/sf_modf.c
+++ b/lib/libm/sf_modf.c
@@ -25,9 +25,9 @@
#include "fdlibm.h"
#ifdef __STDC__
-static const float one = 1.0;
+static const float one = 1.0f;
#else
-static float one = 1.0;
+static float one = 1.0f;
#endif
#ifdef __STDC__