diff framework/TransformUserConfigurator.cpp @ 436:72c662fe7ea3 cxx11

Further dedicated-types fixes
author Chris Cannam
date Tue, 10 Mar 2015 17:02:52 +0000
parents ad168a6510f0
children 167fe01d5631
line wrap: on
line diff
--- a/framework/TransformUserConfigurator.cpp	Tue Mar 10 13:22:10 2015 +0000
+++ b/framework/TransformUserConfigurator.cpp	Tue Mar 10 17:02:52 2015 +0000
@@ -46,8 +46,8 @@
     if (plugin && plugin->getType() == "Feature Extraction Plugin") {
 	Vamp::Plugin *vp = static_cast<Vamp::Plugin *>(plugin);
 	SVDEBUG << "TransformUserConfigurator::getChannelRange: is a VP" << endl;
-        minChannels = vp->getMinChannelCount();
-        maxChannels = vp->getMaxChannelCount();
+        minChannels = int(vp->getMinChannelCount());
+        maxChannels = int(vp->getMaxChannelCount());
         return true;
     } else {
 	SVDEBUG << "TransformUserConfigurator::getChannelRange: is not a VP" << endl;