summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-20 01:02:22 +0000
committerDavid Robillard <d@drobilla.net>2008-08-20 01:02:22 +0000
commitbd16306d425a8ed25cf4196f43521ca3f0f3346e (patch)
treefea8869efce02d644b804722b80c2cadefe34b53
parent55fae8164f1962c662ce918c75b71891ec871b03 (diff)
downloadraul-bd16306d425a8ed25cf4196f43521ca3f0f3346e.tar.gz
raul-bd16306d425a8ed25cf4196f43521ca3f0f3346e.tar.bz2
raul-bd16306d425a8ed25cf4196f43521ca3f0f3346e.zip
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
-rw-r--r--raul/AtomLiblo.hpp3
1 files changed, 1 insertions, 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<void*>(atom.get_blob()));
+ lo_message_add_blob(m, lo_blob_new(atom.data_size(), atom.get_blob()));
break;
case Atom::NIL:
default: