summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginModel.cpp2
-rw-r--r--src/client/PluginUI.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index a18eb0fe..77b3e4c9 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -103,7 +103,7 @@ PluginModel::get_property(const URI& key) const
SLV2Value lv2_pred = slv2_value_new_uri(_slv2_world, key.str().c_str());
SLV2Values values = slv2_plugin_get_value(_slv2_plugin, lv2_pred);
slv2_value_free(lv2_pred);
- SLV2_FOREACH(i, values) {
+ SLV2_FOREACH(values, i, values) {
SLV2Value val = slv2_values_get(values, i);
if (slv2_value_is_uri(val)) {
ret = set_property(key, Atom(Atom::URI, slv2_value_as_uri(val)));
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index 2df77156..f8232426 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -130,7 +130,7 @@ PluginUI::create(Ingen::Shared::World* world,
SLV2UIs uis = slv2_plugin_get_uis(plugin);
SLV2UI ui = NULL;
SLV2Value ui_type = NULL;
- SLV2_FOREACH(u, uis) {
+ SLV2_FOREACH(uis, u, uis) {
SLV2UI this_ui = slv2_uis_get(uis, u);
if (slv2_ui_is_supported(this_ui,
suil_ui_supported,