summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-31 18:01:04 -0400
committerDavid Robillard <d@drobilla.net>2016-07-31 18:01:04 -0400
commit905d7b70f9382507065c827e1c0d94921a5385ee (patch)
treee26c713c19b52fe0aadc7c7b0bd404b85e9c2d58
parentc7fac2da0c0a48977281a3b507517bcb40046768 (diff)
downloadsuil-905d7b70f9382507065c827e1c0d94921a5385ee.tar.gz
suil-905d7b70f9382507065c827e1c0d94921a5385ee.tar.bz2
suil-905d7b70f9382507065c827e1c0d94921a5385ee.zip
Fix compilation with C++
-rw-r--r--src/x11_in_gtk2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c
index 848b258..d9cacdc 100644
--- a/src/x11_in_gtk2.c
+++ b/src/x11_in_gtk2.c
@@ -377,9 +377,9 @@ suil_wrapper_new(SuilHost* host,
LV2_Options_Option* options = NULL;
for (LV2_Feature** f = *features; *f && (!map || !options); ++f) {
if (!strcmp((*f)->URI, LV2_OPTIONS__options)) {
- options = (*f)->data;
+ options = (LV2_Options_Option*)(*f)->data;
} else if (!strcmp((*f)->URI, LV2_URID__map)) {
- map = (*f)->data;
+ map = (LV2_URID_Map*)(*f)->data;
}
}