Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Apr 5, 2023
1 parent 610ede6 commit 7c41893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/wobbly/WobblyWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5424,11 +5424,11 @@ void WobblyWindow::setMatchAndDecimationPatterns() {
}


void WobblyWindow::updateSectionOrphanFrames(int current_frame) {
void WobblyWindow::updateSectionOrphanFrames(int frame) {
if (!project)
return;

const Section *section = project->findSection(current_frame);
const Section *section = project->findSection(frame);

updateSectionOrphanFrames(section);
}
Expand Down
2 changes: 1 addition & 1 deletion src/wobbly/WobblyWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public slots:
void setDecimationPattern();
void setMatchAndDecimationPatterns();

void updateSectionOrphanFrames(int current_frame);
void updateSectionOrphanFrames(int frame);
void updateSectionOrphanFrames(const Section *section);

void guessCurrentSectionPatternsFromMics();
Expand Down

0 comments on commit 7c41893

Please sign in to comment.