comparison data/model/SparseModel.h @ 854:c2a399f93843

Fix warning
author Chris Cannam
date Wed, 04 Dec 2013 16:47:53 +0000
parents 33fca917c800
children 59e7fe1b1003
comparison
equal deleted inserted replaced
846:2010409af203 854:c2a399f93843
159 159
160 virtual QString toDelimitedDataString(QString delimiter, size_t f0, size_t f1) const 160 virtual QString toDelimitedDataString(QString delimiter, size_t f0, size_t f1) const
161 { 161 {
162 QString s; 162 QString s;
163 for (PointListConstIterator i = m_points.begin(); i != m_points.end(); ++i) { 163 for (PointListConstIterator i = m_points.begin(); i != m_points.end(); ++i) {
164 if (i->frame >= f0 && i->frame < f1) { 164 if (i->frame >= (long)f0 && i->frame < (long)f1) {
165 s += i->toDelimitedDataString(delimiter, m_sampleRate) + "\n"; 165 s += i->toDelimitedDataString(delimiter, m_sampleRate) + "\n";
166 } 166 }
167 } 167 }
168 return s; 168 return s;
169 } 169 }