diff vamp-json/VampJson.h @ 105:491a4bc10a01

Merge
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 17 Oct 2016 16:41:00 +0100
parents 427c4c725085
children 2380d5865355
line wrap: on
line diff
--- a/vamp-json/VampJson.h	Mon Oct 17 16:39:36 2016 +0100
+++ b/vamp-json/VampJson.h	Mon Oct 17 16:41:00 2016 +0100
@@ -548,8 +548,8 @@
         for (const std::string &c: d.category) cat.push_back(c);
         jo["category"] = cat;
 
-        jo["minChannelCount"] = d.minChannelCount;
-        jo["maxChannelCount"] = d.maxChannelCount;
+        jo["minChannelCount"] = int(d.minChannelCount);
+        jo["maxChannelCount"] = int(d.maxChannelCount);
 
         json11::Json::array params;
         Vamp::PluginBase::ParameterList vparams = d.parameters;