aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-05-20 19:11:34 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-05-20 19:11:34 +0200
commita520a0eba916567644e7409c528711bc7a949ac5 (patch)
treebd6a9f1d90d80a9bf622bd7db291acb96ea10df9
parentd0689315abaeef934f42b6cb3af2f7114a906187 (diff)
downloadsherlock.lv2-a520a0eba916567644e7409c528711bc7a949ac5.tar.xz
small fix for updated osc.lv2.
-rw-r--r--osc_inspector_eo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osc_inspector_eo.c b/osc_inspector_eo.c
index 442085f..4c7fc64 100644
--- a/osc_inspector_eo.c
+++ b/osc_inspector_eo.c
@@ -219,7 +219,7 @@ _atom_stringify(UI *ui, char *ptr, char *end, const LV2_Atom *atom)
case LV2_OSC_TIMETAG:
{
LV2_OSC_Timetag tt;
- lv2_osc_timetag_get(&ui->osc_urid, (const LV2_Atom_Object *)itm, &tt);
+ lv2_osc_timetag_get(&ui->osc_urid, itm, &tt);
ptr = _timetag_stringify(ui, ptr, end, lv2_osc_timetag_parse(&tt));
break;
}
@@ -333,7 +333,7 @@ _atom_stringify(UI *ui, char *ptr, char *end, const LV2_Atom *atom)
ptr += strlen(ptr);
LV2_OSC_Timetag tt;
- lv2_osc_timetag_get(&ui->osc_urid, timetag, &tt);
+ lv2_osc_timetag_get(&ui->osc_urid, &timetag->atom, &tt);
ptr = _timetag_stringify(ui, ptr, end, lv2_osc_timetag_parse(&tt));
sprintf(ptr, CODE_POST);