diff --git a/dsp/gft.cpp b/dsp/gft.cpp index a0d7ac9..350ace8 100755 --- a/dsp/gft.cpp +++ b/dsp/gft.cpp @@ -24,7 +24,7 @@ #include "fftw3.h" #include -#include +#include #include #define PI 3.1415926535897931 @@ -70,7 +70,7 @@ void gft_shift(double *sig, int N, int amount) { int i,j; temp = (double *) malloc(N*2*sizeof(double)); - memcpy(temp, sig, N*2*sizeof(double)); + std::memcpy(temp, sig, N*2*sizeof(double)); for (i=0; i= N) shiftTo -= N;