changeset 1214:77320e522253 piper

Fix compiler warnings
author Chris Cannam
date Mon, 17 Oct 2016 16:39:36 +0100
parents 8dc7ab20e847
children 771a17925576
files plugin/FeatureExtractionPluginFactory.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;