Skip to content
Snippets Groups Projects
Commit 7986676a authored by John Romein's avatar John Romein
Browse files

BugID: 225

Avoid type-punning pointer warning.
parent 8fef442f
No related branches found
No related tags found
No related merge requests found
......@@ -1385,11 +1385,11 @@ void WH_BGL_Processing::doPPF(double baseFrequency)
#if defined HAVE_FFTW3
fftwf_execute_dft(itsFFTWPlan,
(fftwf_complex *) (*itsFFTinData)[NR_TAPS - 1 + time][pol].origin(),
(fftwf_complex *) fftOutData);
(fftwf_complex *) (void *) fftOutData);
#else
fftw_one(itsFFTWPlan,
(fftw_complex *) (*itsFFTinData)[NR_TAPS - 1 + time][pol].origin(),
(fftw_complex *) fftOutData);
(fftw_complex *) (void *) fftOutData);
#endif
for (unsigned chan = 0; chan < NR_SUBBAND_CHANNELS; chan ++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment