summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r--libs/ardour/graph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index d2fbdbf552..30c9a167a9 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -232,7 +232,7 @@ Graph::trigger (GraphNode* n)
void
Graph::dec_ref()
{
- if (g_atomic_int_dec_and_test (&_finished_refcount)) {
+ if (g_atomic_int_dec_and_test (const_cast<gint*> (&_finished_refcount))) {
/* We have run all the nodes that are at the `output' end of
the graph, so there is nothing more to do this time around.