Browse Source

Fixed a missing argument when creating an instance of FFTWImpl

tags/2021-05-28
ed 6 years ago
parent
commit
74bcfa1d83
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_dsp/frequency/juce_FFT.cpp

+ 1
- 1
modules/juce_dsp/frequency/juce_FFT.cpp View File

@@ -632,7 +632,7 @@ struct FFTWImpl : public FFT::Instance
if (! Symbols::symbol (lib, symbols.execute_c2r_fftw, "fftwf_execute_dft_c2r")) return nullptr;
#endif
return new FFTWImpl (std::move (lib), symbols);
return new FFTWImpl (static_cast<size_t> (order), std::move (lib), symbols);
}
return nullptr;


Loading…
Cancel
Save