Mercurial > hg > qm-dsp
diff dsp/tempotracking/TempoTrackV2.cpp @ 102:37449f085a4c
Fix compiler warnings
author | Chris Cannam |
---|---|
date | Thu, 13 Jun 2013 10:23:09 +0100 |
parents | e5907ae6de17 |
children | 1e433aaa44ad |
line wrap: on
line diff
--- a/dsp/tempotracking/TempoTrackV2.cpp Tue Feb 12 17:46:47 2013 +0000 +++ b/dsp/tempotracking/TempoTrackV2.cpp Thu Jun 13 10:23:09 2013 +0100 @@ -462,7 +462,7 @@ int startpoint = get_max_ind(tmp_vec) + cumscore.size() - beat_period[beat_period.size()-1] ; // can happen if no results obtained earlier (e.g. input too short) - if (startpoint >= backlink.size()) startpoint = backlink.size()-1; + if (startpoint >= (int)backlink.size()) startpoint = backlink.size()-1; // USE BACKLINK TO GET EACH NEW BEAT (TOWARDS THE BEGINNING OF THE FILE) // BACKTRACKING FROM THE END TO THE BEGINNING.. MAKING SURE NOT TO GO BEFORE SAMPLE 0