summaryrefslogtreecommitdiff
path: root/libs/ardour/session_events.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r--libs/ardour/session_events.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc
index 79d20c8c39..9b6313fff3 100644
--- a/libs/ardour/session_events.cc
+++ b/libs/ardour/session_events.cc
@@ -405,7 +405,7 @@ Session::process_event (Event* ev)
break;
case Event::Audition:
- set_audition (static_cast<AudioRegion*> (ev->ptr));
+ set_audition (ev->region);
break;
case Event::InputConfigurationChange: