fix merge conflicts with master
[ardour.git] / libs / ardour / graph.cc
index c8e374cddc9d4a4eab7bcb0baac3bd0264dd270b..b37de547cdf3e32617cdb265460c26c2d71af6bd 100644 (file)
@@ -230,7 +230,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.