summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-02 19:43:26 +0000
committerDavid Robillard <d@drobilla.net>2013-02-02 19:43:26 +0000
commit6849ba5524b57519559864d4b813c12640a9608d (patch)
tree0fcfb80d1aa2c5acb4dc89a525994c5d201021c0 /src
parent92b01c7185232f4e3d6278049d08f28639f45488 (diff)
downloadingen-6849ba5524b57519559864d4b813c12640a9608d.tar.gz
ingen-6849ba5524b57519559864d4b813c12640a9608d.tar.bz2
ingen-6849ba5524b57519559864d4b813c12640a9608d.zip
Fix crash when building patches via socket.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5029 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/AtomWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AtomWriter.cpp b/src/AtomWriter.cpp
index 2c5fd659..c41b9598 100644
--- a/src/AtomWriter.cpp
+++ b/src/AtomWriter.cpp
@@ -98,7 +98,7 @@ AtomWriter::forge_properties(const Resource::Properties& properties)
for (auto p : properties) {
lv2_atom_forge_property_head(&_forge, _map.map_uri(p.first.c_str()), 0);
if (p.second.type() == _forge.URI) {
- forge_uri(Raul::URI(p.second.get<const char*>()));
+ forge_uri(Raul::URI(p.second.ptr<char>()));
} else {
lv2_atom_forge_atom(&_forge, p.second.size(), p.second.type());
lv2_atom_forge_write(&_forge, p.second.get_body(), p.second.size());