shithub: sox

Download patch

ref: 9e453d95547f3263ac00f36e22af4d8e5687c784
parent: 635d8cad2d27fc7a6438136322d7d62634ca2056
author: cbagwell <cbagwell>
date: Thu Sep 6 20:07:26 EDT 2007

Make function match prototype.  Fixes mingw crash.

--- a/src/FFT.c
+++ b/src/FFT.c
@@ -285,7 +285,7 @@
  * of its code.
  */
 
-void PowerSpectrum(sox_size_t NumSamples, const float *In, float *Out)
+void PowerSpectrum(unsigned NumSamples, const float *In, float *Out)
 {
   unsigned Half, i, i3;
   float theta, wtemp, wpr, wpi, wr, wi;