summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Get.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Get.cpp b/src/server/events/Get.cpp
index f2204e67..ae4174bb 100644
--- a/src/server/events/Get.cpp
+++ b/src/server/events/Get.cpp
@@ -86,7 +86,7 @@ send_node(Interface* client, const NodeImpl* node)
{
PluginImpl* const plugin = node->plugin_impl();
if (plugin->type() == Plugin::Patch) {
- send_patch(client, (PatchImpl*)node);
+ send_patch(client, (const PatchImpl*)node);
} else {
client->put(node->path(), node->properties());
for (size_t j = 0; j < node->num_ports(); ++j) {