yet another meter+monitoring detail:
[ardour.git] / libs / ardour / graph.cc
index cb0fa1b21ae28b8d45ea3aaab7af32f522f525d0..edb5ab37eee546b89246e42f26fb00898b1c8f06 100644 (file)
@@ -231,7 +231,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.