comparison layer/TimeInstantLayer.cpp @ 909:251dd0abc7b7 cxx11

More type fixes. We now build with -Wconversion, on this platform (64-bit Linux) at least.
author Chris Cannam
date Tue, 10 Mar 2015 17:23:45 +0000
parents 4a578a360011
children 94e4952a6774 3871dffc31bd
comparison
equal deleted inserted replaced
908:4a578a360011 909:251dd0abc7b7
199 199
200 return usePoints; 200 return usePoints;
201 } 201 }
202 202
203 QString 203 QString
204 TimeInstantLayer::getLabelPreceding(int frame) const 204 TimeInstantLayer::getLabelPreceding(sv_frame_t frame) const
205 { 205 {
206 if (!m_model) return ""; 206 if (!m_model) return "";
207 SparseOneDimensionalModel::PointList points = m_model->getPreviousPoints(frame); 207 SparseOneDimensionalModel::PointList points = m_model->getPreviousPoints(frame);
208 for (SparseOneDimensionalModel::PointList::const_iterator i = points.begin(); 208 for (SparseOneDimensionalModel::PointList::const_iterator i = points.begin();
209 i != points.end(); ++i) { 209 i != points.end(); ++i) {