diff --git a/Source/FrameAction.cpp b/Source/FrameAction.cpp index a88b651e..b85305f8 100644 --- a/Source/FrameAction.cpp +++ b/Source/FrameAction.cpp @@ -34,7 +34,7 @@ CFrameEditorState::CFrameEditorState(const CFamiTrackerView *pView, int Track) : // // // Track(Track), - Cursor {static_cast(pView->GetParentFrame())->GetFrameEditor()->GetEditFrame(), (int)pView->GetSelectedChannel()}, + Cursor{ static_cast(pView->GetParentFrame())->GetFrameEditor()->GetEditFrame(), static_cast(pView->GetSelectedChannel()) }, OriginalSelection(static_cast(pView->GetParentFrame())->GetFrameEditor()->GetSelection()), IsSelecting(static_cast(pView->GetParentFrame())->GetFrameEditor()->IsSelecting()) {