audacity/audacity-1.3.3-strict-aliasing.patch

12 lines
442 B
Diff

--- lib-src/libnyquist/nyqsrc/fft.c
+++ lib-src/libnyquist/nyqsrc/fft.c
@@ -177,7 +177,7 @@
temp_fft[i + len] = 0.0F;
}
/* perform the fft: */
- fftnf(1, (const int *) &len, temp_fft, temp_fft + len, 1, -1.0);
+ fftnf(1, &len, temp_fft, temp_fft + len, 1, -1.0);
setelement(result, 0, cvflonum(temp_fft[0]));
for (i = 2; i < len; i += 2) {
setelement(result, i - 1, cvflonum(temp_fft[i / 2] * 2));