diff options
author | Dan Stowell <danstowell@gmail.com> | 2007-04-04 10:25:47 +0000 |
---|---|---|
committer | Dan Stowell <danstowell@gmail.com> | 2007-04-04 10:25:47 +0000 |
commit | a6a907d1fe30536ec004940c5fdf196abe5103cd (patch) | |
tree | e820c7a028058f183624cf40e08d0367145cf9c7 /src/vector.c | |
parent | b5a1af8a470da2895913181b08425a857d57c1b3 (diff) | |
download | LibXtract-a6a907d1fe30536ec004940c5fdf196abe5103cd.tar.gz LibXtract-a6a907d1fe30536ec004940c5fdf196abe5103cd.tar.bz2 LibXtract-a6a907d1fe30536ec004940c5fdf196abe5103cd.zip |
Small changes thanks to compiler warnings (no change to behaviour)
Diffstat (limited to 'src/vector.c')
-rw-r--r-- | src/vector.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vector.c b/src/vector.c index acbf5a2..97e087b 100644 --- a/src/vector.c +++ b/src/vector.c @@ -182,7 +182,6 @@ int xtract_autocorrelation_fft(const float *data, const int N, const void *argv, int xtract_mfcc(const float *data, const int N, const void *argv, float *result){ xtract_mel_filter *f; - size_t bytes; int n, filter; f = (xtract_mel_filter *)argv; @@ -205,10 +204,9 @@ int xtract_mfcc(const float *data, const int N, const void *argv, float *result) int xtract_dct(const float *data, const int N, const void *argv, float *result){ fftwf_plan plan; - size_t bytes; plan = - fftwf_plan_r2r_1d(N, data, result, FFTW_REDFT00, FFTW_ESTIMATE); + fftwf_plan_r2r_1d(N, (float *) data, result, FFTW_REDFT00, FFTW_ESTIMATE); fftwf_execute(plan); fftwf_destroy_plan(plan); |