Mercurial > hg > svcore
diff data/model/NoteModel.cpp @ 259:dc46851837d6
* Fix many compile warnings, remove some debug output
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 13:36:23 +0000 |
parents | 3a13b0d4934e |
children |
line wrap: on
line diff
--- a/data/model/NoteModel.cpp Mon Apr 30 09:07:42 2007 +0000 +++ b/data/model/NoteModel.cpp Mon Apr 30 13:36:23 2007 +0000 @@ -33,7 +33,7 @@ for (PointListIterator i = endItr; i != m_points.begin(); ) { --i; if (i->frame < start) { - if (i->frame + i->duration >= start) { + if (i->frame + long(i->duration) >= start) { rv.insert(*i); } } else if (i->frame <= end) { @@ -63,7 +63,7 @@ for (PointListIterator i = endItr; i != m_points.begin(); ) { --i; if (i->frame < start) { - if (i->frame + i->duration >= start) { + if (i->frame + long(i->duration) >= start) { rv.insert(*i); } } else if (i->frame <= end) {