utils.c: avoid signed/unsigned comparison
authorPaul Brossier <piem@piem.org>
Tue, 13 Nov 2007 09:00:23 +0000 (10:00 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 13 Nov 2007 09:00:23 +0000 (10:00 +0100)
examples/utils.c

index 3af049a98b248526dafeb622e63ed23ea1aca260..bcdf5c18fa1c491d0c7e19210d1363f8ca9ca214 100644 (file)
@@ -413,7 +413,7 @@ void flush_process(aubio_process_func_t process_func, aubio_print_func_t print){
       fvec_write_sample(obuf,0.,i,j);
     }
   }
-  for (i = 0; i < frames_delay; i++) {
+  for (i = 0; (signed)i < frames_delay; i++) {
     process_func(ibuf->data, obuf->data, overlap_size);
     print(); 
   }