Mercurial > hg > svcore
diff data/model/Labeller.h @ 929:59e7fe1b1003 warnfix_no_size_t
Unsigned removals and warning fixes in data/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 14:33:42 +0100 |
parents | 2f85f0fbf7ab |
children | 2f49be7d4264 |
line wrap: on
line diff
--- a/data/model/Labeller.h Tue Jun 17 13:52:07 2014 +0100 +++ b/data/model/Labeller.h Tue Jun 17 14:33:42 2014 +0100 @@ -292,7 +292,7 @@ } else if (!prevPoint) { std::cerr << "ERROR: Labeller::getValueFor: Time difference required, but only one point provided" << std::endl; } else { - size_t f0 = prevPoint->frame, f1 = newPoint.frame; + int f0 = prevPoint->frame, f1 = newPoint.frame; if (m_type == ValueFromDurationToNext || m_type == ValueFromDurationFromPrevious) { value = float(f1 - f0) / m_rate;