Mercurial > hg > svgui
diff widgets/PluginParameterDialog.cpp @ 908:4a578a360011 cxx11
More type fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 13:22:10 +0000 |
parents | e4773943c9c1 |
children | a34a2a25907c |
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.cpp Tue Mar 10 10:31:27 2015 +0000 +++ b/widgets/PluginParameterDialog.cpp Tue Mar 10 13:22:10 2015 +0000 @@ -386,10 +386,10 @@ int size = 1024; int increment = 1024; if (fePlugin) { - size = fePlugin->getPreferredBlockSize(); + size = int(fePlugin->getPreferredBlockSize()); cerr << "Feature extraction plugin \"" << fePlugin->getName() << "\" reports preferred block size as " << size << endl; if (size == 0) size = 1024; - increment = fePlugin->getPreferredStepSize(); + increment = int(fePlugin->getPreferredStepSize()); if (increment == 0) { if (fePlugin->getInputDomain() == Vamp::Plugin::TimeDomain) { increment = size;