comparison layer/TimeValueLayer.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 6f97f5149cb3
comparison
equal deleted inserted replaced
908:4a578a360011 909:251dd0abc7b7
572 572
573 return usePoints; 573 return usePoints;
574 } 574 }
575 575
576 QString 576 QString
577 TimeValueLayer::getLabelPreceding(int frame) const 577 TimeValueLayer::getLabelPreceding(sv_frame_t frame) const
578 { 578 {
579 if (!m_model) return ""; 579 if (!m_model) return "";
580 SparseTimeValueModel::PointList points = m_model->getPreviousPoints(frame); 580 SparseTimeValueModel::PointList points = m_model->getPreviousPoints(frame);
581 for (SparseTimeValueModel::PointList::const_iterator i = points.begin(); 581 for (SparseTimeValueModel::PointList::const_iterator i = points.begin();
582 i != points.end(); ++i) { 582 i != points.end(); ++i) {