shithub: aubio

Download patch

ref: 0b9e1da515c270961254349182b12e52fd15e947
parent: af35ed0b2dcf780dbb33ead37d4e94509563465a
author: Paul Brossier <piem@altern.org>
date: Sat Jun 3 11:13:58 EDT 2006

fix signed/unsigned mismatches in beattracking
fix signed/unsigned mismatches in beattracking


--- a/src/beattracking.c
+++ b/src/beattracking.c
@@ -147,7 +147,7 @@
         //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.;