diff options
-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); } |