diff plugin/FeatureExtractionPluginFactory.cpp @ 1214:77320e522253 piper

Fix compiler warnings
author Chris Cannam
date Mon, 17 Oct 2016 16:39:36 +0100
parents 8dc7ab20e847
children c2207877689d
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.cpp	Mon Oct 17 14:55:05 2016 +0100
+++ b/plugin/FeatureExtractionPluginFactory.cpp	Mon Oct 17 16:39:36 2016 +0100
@@ -118,7 +118,7 @@
     std::string pluginKey = (soname + ":" + label).toStdString();
 
     auto ap = new piper_vamp::client::AutoPlugin
-        (m_serverName, pluginKey, inputSampleRate, 0);
+        (m_serverName, pluginKey, float(inputSampleRate), 0);
 
     if (!ap->isOK()) {
         delete ap;