aboutsummaryrefslogtreecommitdiff
path: root/common/rdft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/rdft.cpp')
-rw-r--r--common/rdft.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rdft.cpp b/common/rdft.cpp
index d30fdd55a1..5a85406a64 100644
--- a/common/rdft.cpp
+++ b/common/rdft.cpp
@@ -49,8 +49,8 @@ RDFT::~RDFT() {
void RDFT::calc(float *data) {
const int n = 1 << _bits;
- const float k1 = 0.5;
- const float k2 = 0.5 - _inverse;
+ const float k1 = 0.5f;
+ const float k2 = 0.5f - _inverse;
if (!_inverse) {
_fft->permute((Complex *) data);