diff --git a/include/lmms_math.h b/include/lmms_math.h index 4ab9b3471..d1a9dcc79 100644 --- a/include/lmms_math.h +++ b/include/lmms_math.h @@ -48,10 +48,10 @@ using namespace std; #define _isinff(x) isinf(x) #endif #ifndef exp10 -#define exp10(x) pow( 10, x ) +#define exp10(x) pow( 10.0, x ) #endif #ifndef exp10f -#define exp10f(x) powf( 10, x ) +#define exp10f(x) powf( 10.0f, x ) #endif #endif