all: Fix implicit conversion from double to float.
These are found when building with -Wfloat-conversion.
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user