summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/luabindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc
index 2fa6fa0604..b0bab16760 100644
--- a/libs/ardour/luabindings.cc
+++ b/libs/ardour/luabindings.cc
@@ -347,7 +347,7 @@ LuaBindings::common (lua_State* L)
.beginClass <InterThreadInfo> ("InterThreadInfo")
.addVoidConstructor ()
.addData ("done", const_cast<bool InterThreadInfo::*>(&InterThreadInfo::done))
- .addData ("cancel", (bool InterThreadInfo::*)&InterThreadInfo::cancel)
+ .addData ("cancel", const_cast<bool InterThreadInfo::*>(&InterThreadInfo::cancel))
.addData ("progress", const_cast<float InterThreadInfo::*>(&InterThreadInfo::progress))
.endClass ()