From bd16306d425a8ed25cf4196f43521ca3f0f3346e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 20 Aug 2008 01:02:22 +0000 Subject: Fix set_port_value stuff over OSC with blobs (i.e. make klaviatur work with a remote engine). git-svn-id: http://svn.drobilla.net/lad/raul@1454 a436a847-0d15-0410-975c-d299462d15a1 --- raul/AtomLiblo.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/raul/AtomLiblo.hpp b/raul/AtomLiblo.hpp index ffe98ec..b6c6dc9 100644 --- a/raul/AtomLiblo.hpp +++ b/raul/AtomLiblo.hpp @@ -51,8 +51,7 @@ lo_message_add_atom(lo_message m, const Atom& atom) lo_message_add_false(m); break; case Atom::BLOB: - // FIXME: is this okay? what does liblo do? - lo_message_add_blob(m, const_cast(atom.get_blob())); + lo_message_add_blob(m, lo_blob_new(atom.data_size(), atom.get_blob())); break; case Atom::NIL: default: -- cgit v1.2.1