aboutsummaryrefslogtreecommitdiff
path: root/osc.lv2/osc.lv2
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-02-10 22:08:54 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-02-10 22:08:54 +0100
commit78159bf686575dec745aca789a7c967a56332f90 (patch)
tree3f4ca0e020c791b53378c94e3ff80984a0ad264e /osc.lv2/osc.lv2
parent6c9fb705e6663f6127b0d960e35a8e651a722e40 (diff)
parent66d6472aefcc3c37941cac3a7ecaa924c519a61d (diff)
downloadsynthpod-78159bf686575dec745aca789a7c967a56332f90.tar.xz
Merge commit '66d6472aefcc3c37941cac3a7ecaa924c519a61d'
Diffstat (limited to 'osc.lv2/osc.lv2')
-rw-r--r--osc.lv2/osc.lv2/writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/osc.lv2/osc.lv2/writer.h b/osc.lv2/osc.lv2/writer.h
index 97957a97..dda3514b 100644
--- a/osc.lv2/osc.lv2/writer.h
+++ b/osc.lv2/osc.lv2/writer.h
@@ -549,7 +549,7 @@ lv2_osc_writer_packet(LV2_OSC_Writer *writer, LV2_OSC_URID *osc_urid,
}
else if(lit->body.datatype == osc_urid->OSC_RGBA)
{
- const uint8_t *rgba = LV2_ATOM_CONTENTS_CONST(LV2_Atom_Literal, atom);
+ const char *rgba = LV2_ATOM_CONTENTS_CONST(LV2_Atom_Literal, atom);
uint8_t r, g, b, a;
if(sscanf(rgba, "%02"SCNx8"%02"SCNx8"%02"SCNx8"%02"SCNx8, &r, &g, &b, &a) != 4)
return false;