diff main/MainWindow.cpp @ 914:096634fc3f19 cxx11

Now builds with current svcore; next, try it again with -Wconversion in svgui, svapp, and sonic-visualiser
author Chris Cannam
date Wed, 04 Mar 2015 13:53:42 +0000
parents c08df7de50f6
children 67540751da93
line wrap: on
line diff
--- a/main/MainWindow.cpp	Tue Mar 03 09:33:59 2015 +0000
+++ b/main/MainWindow.cpp	Wed Mar 04 13:53:42 2015 +0000
@@ -3749,8 +3749,8 @@
         }
     }
     
-    int startFrame = 0, duration = 0;
-    int endFrame = 0;
+    sv_frame_t startFrame = 0, duration = 0;
+    sv_frame_t endFrame = 0;
     m_viewManager->getSelection().getExtents(startFrame, endFrame);
     if (endFrame > startFrame) duration = endFrame - startFrame;
     else startFrame = 0;