diff vamp-client/PluginStub.h @ 102:cd438188e3f9

Fix compiler warnings
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 17 Oct 2016 16:39:36 +0100
parents 427c4c725085
children ff3fd8d1b2dc
line wrap: on
line diff
--- a/vamp-client/PluginStub.h	Fri Oct 14 16:22:32 2016 +0100
+++ b/vamp-client/PluginStub.h	Mon Oct 17 16:39:36 2016 +0100
@@ -110,9 +110,9 @@
             throw std::logic_error("Plugin has already been initialised");
         }
         
-        m_config.channelCount = inputChannels;
-        m_config.stepSize = stepSize;
-        m_config.blockSize = blockSize;
+        m_config.channelCount = int(inputChannels);
+        m_config.stepSize = int(stepSize);
+        m_config.blockSize = int(blockSize);
 
         m_outputs = m_client->configure(this, m_config);