diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 21:46:44 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 21:46:44 -0400 |
commit | 4e84bc3a39ca624d62be590c532a8bc33b33baa4 (patch) | |
tree | e81eda4a9f866590e1a4bb5891fba057c9b86ccc /libs/ardour/graph.cc | |
parent | b05968fb4e303ce47b6e09cd1bc713f3af28a6f9 (diff) |
changes to get cairocanvas branch to build on OS X, with its stupid nil and Rect macros, plus some const_cast<> and unused variable fixes that should really be in master but will have to wait till we rebase master
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r-- | libs/ardour/graph.cc | 2 |
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. |