summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-10-29 16:34:50 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-10-29 16:34:50 +0000
commit5f79e30d05a2eb9004e6229cc1550ca221ebca4d (patch)
treee94bb8939fa2c78c7e58988d534a5f12814a064b /libs
parentb1ed7820456ce76d23d73a2fa592efb9bf0517bf (diff)
change is the only constant, again
git-svn-id: svn://localhost/ardour2/branches/3.0@13363 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/pannable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/pannable.h b/libs/ardour/ardour/pannable.h
index c9b5389f58..0d5200b685 100644
--- a/libs/ardour/ardour/pannable.h
+++ b/libs/ardour/ardour/pannable.h
@@ -72,7 +72,7 @@ class Pannable : public PBD::Stateful, public Automatable, public SessionHandleR
void start_touch (double when);
void stop_touch (bool mark, double when);
- bool touching() const { return g_atomic_int_get (&_touching); }
+ bool touching() const { return g_atomic_int_get (const_cast<gint*>(&_touching)); }
bool writing() const { return _auto_state == Write; }
bool touch_enabled() const { return _auto_state == Touch; }