Mercurial > hg > sonic-annotator
diff runner/main.cpp @ 95:03b1d83fca29
Update subrepos, fix compile for updated versions, track version.h
author | Chris Cannam |
---|---|
date | Wed, 01 Oct 2014 08:49:01 +0100 |
parents | 318e2f177ed5 |
children | fae326c22df5 |
line wrap: on
line diff
--- a/runner/main.cpp Sat Apr 26 22:22:17 2014 +0100 +++ b/runner/main.cpp Wed Oct 01 08:49:01 2014 +0100 @@ -144,7 +144,7 @@ cerr << "Sonic Annotator v" << RUNNER_VERSION << endl; cerr << "A utility for batch feature extraction from audio files." << endl; cerr << "Mark Levy, Chris Sutton and Chris Cannam, Queen Mary, University of London." << endl; - cerr << "Copyright 2007-2013 Queen Mary, University of London." << endl; + cerr << "Copyright 2007-2014 Queen Mary, University of London." << endl; cerr << endl; cerr << "This program is free software. You may redistribute copies of it under the" << endl; cerr << "terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>." << endl; @@ -611,13 +611,13 @@ map<string, string> writerArgs; FeatureWriter::ParameterList pl(writer->getSupportedParameters()); - for (int k = 0; k < pl.size(); ++k) { + for (int k = 0; k < (int)pl.size(); ++k) { string argbase = pl[k].name; QString literal = QString("--%1-%2") .arg(i->c_str()).arg(argbase.c_str()); - for (int j = 0; j < otherArgs.size(); ) { + for (int j = 0; j < (int)otherArgs.size(); ) { if (otherArgs[j] != literal) { ++j; @@ -669,7 +669,7 @@ PlaylistFileReader reader(i->c_str()); if (reader.isOK()) { vector<QString> files = reader.load(); - for (int j = 0; j < files.size(); ++j) { + for (int j = 0; j < (int)files.size(); ++j) { requestedTransformFiles.insert(files[j].toStdString()); } } else { @@ -771,7 +771,7 @@ } } - for (int i = 0; i < writers.size(); ++i) delete writers[i]; + for (int i = 0; i < (int)writers.size(); ++i) delete writers[i]; #ifdef HAVE_FFTW3 settings.beginGroup("FFTWisdom");