Mercurial > hg > sonic-visualiser
diff main/OSCHandler.cpp @ 730:73a5884a0975 warnfix_no_size_t
Various size_t etc removals, and compiler warning fixes
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 16:42:51 +0100 |
parents | 9cc2027d388b |
children | a824fe3f9f45 |
line wrap: on
line diff
--- a/main/OSCHandler.cpp Tue Jun 03 11:13:53 2014 +0100 +++ b/main/OSCHandler.cpp Tue Jun 17 16:42:51 2014 +0100 @@ -123,7 +123,7 @@ if (getMainModel()) { - unsigned long frame = m_viewManager->getPlaybackFrame(); + int frame = m_viewManager->getPlaybackFrame(); bool selection = false; bool play = (message.getMethod() == "play"); @@ -255,7 +255,7 @@ Layer *layer = 0; if (pane) layer = pane->getSelectedLayer(); if (layer) { - size_t resolution; + int resolution; layer->snapToFeatureFrame(pane, f0, resolution, Layer::SnapLeft); layer->snapToFeatureFrame(pane, f1, resolution,