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 21e60ff6968071a5146264324be9228074ab9895..430fed4dcfc104a3c53472a2cad8cb2149422477 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 988b39d225f22aecc8a261bf4f83eb80a5f8c38c..8ae1ec672203905f429db92dcd7d493631563958 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);