From 68f5ccce64c82f8fcddd38a9e57f54037a19a139 Mon Sep 17 00:00:00 2001 From: Vesa V Date: Sun, 7 Dec 2014 00:12:19 +0200 Subject: [PATCH] Update lmms_math.h oops, extra f --- include/lmms_math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lmms_math.h b/include/lmms_math.h index 5882739bd..96e6fdcd2 100644 --- a/include/lmms_math.h +++ b/include/lmms_math.h @@ -132,7 +132,7 @@ static inline int fast_rand() static inline double fastRand( double range ) { - static const double fast_rand_ratio = 1.0f / FAST_RAND_MAX; + static const double fast_rand_ratio = 1.0 / FAST_RAND_MAX; return fast_rand() * range * fast_rand_ratio; }