fix signed/unsigned mismatches in beattracking
authorPaul Brossier <piem@altern.org>
Sat, 3 Jun 2006 15:13:58 +0000 (15:13 +0000)
committerPaul Brossier <piem@altern.org>
Sat, 3 Jun 2006 15:13:58 +0000 (15:13 +0000)
fix signed/unsigned mismatches in beattracking

src/beattracking.c

index 95d1cac40ad56eaba2efc734f703c80f0a134def..975322756e2de37d91f5e06ffb0945823354a8ea 100644 (file)
@@ -147,7 +147,7 @@ void aubio_beattracking_do(aubio_beattracking_t * bt, fvec_t * dfframe, fvec_t *
         //beat alignment
         uint_t phase; 
         uint_t kmax;
-        uint_t beat; 
+        sint_t beat; 
 
         for (i = 0; i < winlen; i++){
                 dfrev[winlen-1-i] = 0.;