# HG changeset patch # User Chris Cannam # Date 1476718776 -3600 # Node ID 77320e522253b0e53959db5f73b595b76473e710 # Parent 8dc7ab20e8473c9a256cfa8041dcda8e0b3c700e Fix compiler warnings diff -r 8dc7ab20e847 -r 77320e522253 plugin/FeatureExtractionPluginFactory.cpp --- 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;