aboutsummaryrefslogtreecommitdiff
path: root/osc.lv2
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-05-10 11:43:28 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-05-10 11:43:28 +0200
commit6ec40e6107f2b00975d574c0c23d1f7a2c331986 (patch)
tree7ee620dd329e8cd7f2451058a82cd91902e8f24e /osc.lv2
parent769be0be479ee09484796606e3d28fcee0ebd4e3 (diff)
parentbff22accc7b733fba3902454d6982c57b4fed802 (diff)
downloadmoony.lv2-6ec40e6107f2b00975d574c0c23d1f7a2c331986.tar.xz
Merge commit 'bff22accc7b733fba3902454d6982c57b4fed802'
Diffstat (limited to 'osc.lv2')
-rw-r--r--osc.lv2/osc.lv2/util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/osc.lv2/osc.lv2/util.h b/osc.lv2/osc.lv2/util.h
index b9d3746..12a1af1 100644
--- a/osc.lv2/osc.lv2/util.h
+++ b/osc.lv2/osc.lv2/util.h
@@ -312,10 +312,10 @@ lv2_osc_impulse_get(LV2_OSC_URID *osc_urid, const LV2_Atom *atom)
}
static inline const LV2_Atom *
-lv2_osc_symbol_get(LV2_OSC_URID *osc_urid, const LV2_Atom *atom, const char **s)
+lv2_osc_symbol_get(LV2_OSC_URID *osc_urid, const LV2_Atom *atom, LV2_URID *S)
{
- assert(s);
- *s = LV2_ATOM_BODY_CONST(atom);
+ assert(S);
+ *S = ((const LV2_Atom_URID *)atom)->body;
return lv2_atom_tuple_next(atom);
}