diff options
author | Raulshc <[email protected]> | 2018-05-20 18:44:24 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-05-20 18:44:24 +0200 |
commit | 97c165b9518bfdad0fc0506820f32f706488c75e (patch) | |
tree | c5b990d8d7e33372a768acfa93b23cf65b5d636e /common | |
parent | da6f32a1c0fd89e19a09f24f03cae23df65ac91e (diff) |
Add correct cast
Diffstat (limited to 'common')
-rw-r--r-- | common/alcomplex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/alcomplex.c b/common/alcomplex.c index 8a0786e9..9cf9d9bd 100644 --- a/common/alcomplex.c +++ b/common/alcomplex.c @@ -64,7 +64,7 @@ void complex_fft(ALcomplex *FFTBuffer, ALsizei FFTSize, ALdouble Sign) void hilbert(ALsizei size, ALcomplex *InOutBuffer )
{
ALsizei k;
- const ALdouble inverse_size = 1.0/(ALfloat)size;
+ const ALdouble inverse_size = 1.0/(ALdouble)size;
for ( k = 0; k < size;k++ )
InOutBuffer[k].Imag = 0.0;
|