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") .addVoidConstructor () .addData ("done", const_cast(&InterThreadInfo::done)) - .addData ("cancel", (bool InterThreadInfo::*)&InterThreadInfo::cancel) + .addData ("cancel", const_cast(&InterThreadInfo::cancel)) .addData ("progress", const_cast(&InterThreadInfo::progress)) .endClass ()