diff src/dsp/MathUtilities.cpp @ 126:b87290781071

README file, some text tweaks, avoid compiler warning
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 16 May 2014 09:06:34 +0100
parents a38d6940f8fb
children
line wrap: on
line diff
--- a/src/dsp/MathUtilities.cpp	Thu May 15 15:24:56 2014 +0100
+++ b/src/dsp/MathUtilities.cpp	Fri May 16 09:06:34 2014 +0100
@@ -105,7 +105,7 @@
     if (len == 0) return 0;
     
     std::vector<double> scratch;
-    for (int i = 0; i < len; ++i) scratch.push_back(src[i]);
+    for (int i = 0; i < (int)len; ++i) scratch.push_back(src[i]);
     std::sort(scratch.begin(), scratch.end());
 
     int middle = len/2;