summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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());