Mercurial > hg > libxtract
changeset 74:de94190a63b7
Small changes thanks to compiler warnings (no change to behaviour)
author | Dan Stowell <danstowell@gmail.com> |
---|---|
date | Wed, 04 Apr 2007 10:25:47 +0000 |
parents | af512645a7d3 |
children | ee2e1acbf2a8 |
files | src/vector.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/vector.c Tue Mar 20 07:57:56 2007 +0000 +++ b/src/vector.c Wed Apr 04 10:25:47 2007 +0000 @@ -182,7 +182,6 @@ 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_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);