summaryrefslogtreecommitdiffstats
path: root/src/pluginuiinstance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginuiinstance.c')
-rw-r--r--src/pluginuiinstance.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pluginuiinstance.c b/src/pluginuiinstance.c
index 7c5611e..1c2cd1c 100644
--- a/src/pluginuiinstance.c
+++ b/src/pluginuiinstance.c
@@ -59,7 +59,8 @@ slv2_ui_instantiate(SLV2Plugin plugin,
return NULL;
}
- LV2UI_DescriptorFunction df = dlsym(lib, "lv2ui_descriptor");
+ LV2UI_DescriptorFunction df = (LV2UI_DescriptorFunction)
+ slv2_dlfunc(lib, "lv2ui_descriptor");
if (!df) {
SLV2_ERRORF("Could not find symbol 'lv2ui_descriptor', "