summaryrefslogtreecommitdiffstats
path: root/src/AtomReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AtomReader.cpp')
-rw-r--r--src/AtomReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp
index 228f3808..bc0ddfe8 100644
--- a/src/AtomReader.cpp
+++ b/src/AtomReader.cpp
@@ -205,7 +205,7 @@ AtomReader::write(const LV2_Atom* msg)
const LV2_Atom_URID* prop = NULL;
lv2_atom_object_get(obj, (LV2_URID)_uris.patch_property, &prop, 0);
- if (!prop || ((LV2_Atom*)prop)->type != _uris.atom_URID) {
+ if (!prop || ((const LV2_Atom*)prop)->type != _uris.atom_URID) {
_log.warn("Set message missing property\n");
return false;
}