diff options
author | David Robillard <d@drobilla.net> | 2008-08-20 01:02:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-20 01:02:22 +0000 |
commit | bd16306d425a8ed25cf4196f43521ca3f0f3346e (patch) | |
tree | fea8869efce02d644b804722b80c2cadefe34b53 /raul | |
parent | 55fae8164f1962c662ce918c75b71891ec871b03 (diff) | |
download | raul-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
Diffstat (limited to 'raul')
-rw-r--r-- | raul/AtomLiblo.hpp | 3 |
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: |