diff framework/TransformUserConfigurator.cpp @ 366:0876ea394902 warnfix_no_size_t

Remove size_t's, fix compiler warnings
author Chris Cannam
date Tue, 17 Jun 2014 16:23:06 +0100
parents 068235cf5bf7
children ad168a6510f0
line wrap: on
line diff
--- a/framework/TransformUserConfigurator.cpp	Tue Jun 03 11:03:09 2014 +0100
+++ b/framework/TransformUserConfigurator.cpp	Tue Jun 17 16:23:06 2014 +0100
@@ -54,8 +54,8 @@
 				     Vamp::PluginBase *plugin,
                                      Model *&inputModel,
 				     AudioPlaySource *source,
-				     size_t startFrame,
-				     size_t duration,
+				     int startFrame,
+				     int duration,
 				     const QMap<QString, Model *> &modelMap,
 				     QStringList candidateModelNames,
 				     QString defaultModelName)
@@ -201,7 +201,7 @@
 	}
     }
 
-    size_t stepSize = 0, blockSize = 0;
+    int stepSize = 0, blockSize = 0;
     WindowType windowType = HanningWindow;
 
     dialog->getProcessingParameters(stepSize,