diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-05-10 11:41:34 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-05-10 11:41:34 +0200 |
commit | bff22accc7b733fba3902454d6982c57b4fed802 (patch) | |
tree | 527c731534f1060df75c16f4964743b21cb6d72d | |
parent | c6f8fb69c755e4732c879b82d77bdd343754d069 (diff) | |
download | sherlock.lv2-bff22accc7b733fba3902454d6982c57b4fed802.tar.xz |
fix lv2_osc_symbol_get.
-rw-r--r-- | osc.lv2/util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/osc.lv2/util.h b/osc.lv2/util.h index b9d3746..12a1af1 100644 --- a/osc.lv2/util.h +++ b/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); } |