updated tests to lash, avoid signed/unsigned mismatches
authorPaul Brossier <piem@altern.org>
Fri, 7 Jul 2006 08:13:27 +0000 (08:13 +0000)
committerPaul Brossier <piem@altern.org>
Fri, 7 Jul 2006 08:13:27 +0000 (08:13 +0000)
updated tests to lash, avoid signed/unsigned mismatches

examples/tests/Makefile.am
examples/tests/test-phasevoc-jack.c

index 21e60ff..430fed4 100644 (file)
@@ -1,5 +1,5 @@
-AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/ext @LADCCA_CFLAGS@
-AM_LDFLAGS = -L$(top_builddir)/src -L$(top_builddir)/ext -laubioext -laubio @JACK_LIBS@ @LADCCA_LIBS@
+AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/ext @LASH_CFLAGS@
+AM_LDFLAGS = -L$(top_builddir)/src -L$(top_builddir)/ext -laubioext -laubio @JACK_LIBS@ @LASH_LIBS@
 
 bin_PROGRAMS = \
        test-fft \
index 988b39d..8ae1ec6 100644 (file)
@@ -57,7 +57,7 @@ int main(){
 int aubio_process(float **input, float **output, int nframes) {
   uint_t i;       /*channels*/
   uint_t j;       /*frames*/
-  for (j=0;j<nframes;j++) {
+  for (j=0;j<(unsigned)nframes;j++) {
     for (i=0;i<channels;i++) {
       /* write input to datanew */
       fvec_write_sample(in, input[i][j], i, pos);