Mercurial > hg > qm-dsp
diff dsp/tonal/TonalEstimator.h @ 414:7e8d1f26b098
Fix compiler warnings with -Wall -Wextra
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 28 Sep 2015 12:33:17 +0100 |
parents | d5014ab8b0e5 |
children | cbe668c7d724 |
line wrap: on
line diff
--- a/dsp/tonal/TonalEstimator.h Tue Sep 08 13:18:14 2015 +0100 +++ b/dsp/tonal/TonalEstimator.h Mon Sep 28 12:33:17 2015 +0100 @@ -32,7 +32,7 @@ void printDebug() { - for (int i = 0; i < size(); i++) + for (int i = 0; i < int(size()); i++) { std::cout << (*this)[i] << ";"; } @@ -68,7 +68,7 @@ void printDebug() { - for (int i = 0; i < size(); i++) + for (int i = 0; i < int(size()); i++) { std::cout << (*this)[i] << ";"; }