From 6c48be71ff72375d0b93e38a5271d5f1ddaed937 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Thu, 5 Jul 2018 13:11:28 +0100 Subject: [PATCH] Remove a compiler warning in Menus.cpp Quick fix of compiler warning caused by some of my code. --- src/Menus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Menus.cpp b/src/Menus.cpp index 1ed2161c8..8f1f424fe 100644 --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -7677,9 +7677,9 @@ int AudacityProject::FindClipBoundaries(double time, bool next, std::vector(track->GetLink()); - auto result = next ? FindNextClipBoundary(waveTrack2, time) : - FindPrevClipBoundary(waveTrack2, time); + waveTrack = static_cast(track->GetLink()); + result = next ? FindNextClipBoundary(waveTrack, time) : + FindPrevClipBoundary(waveTrack, time); if (result.nFound > 0) { result.trackNum = trackNum; result.channel = stereoAndDiff;