diff dsp/tonal/TonalEstimator.h @ 189:e4a57215ddee

Fix compiler warnings with -Wall -Wextra
author Chris Cannam
date Mon, 28 Sep 2015 12:33:17 +0100
parents e5907ae6de17
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] << ";";
 		}