Skip to content

Commit

Permalink
[Fix] Silence warning.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22276 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Nov 24, 2024
1 parent f88b3a8 commit c8153cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soundlib/Sndfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ bool CSoundFile::CreateInternal(FileReader file, ModLoadingFlags loadFlags)
LimitMax(m_nDefaultRowsPerBeat, MAX_ROWS_PER_BEAT);
LimitMax(m_nDefaultRowsPerMeasure, MAX_ROWS_PER_BEAT);
LimitMax(m_nDefaultGlobalVolume, MAX_GLOBAL_VOLUME);
LimitMax(m_nSamplePreAmp, 2000);
LimitMax(m_nVSTiVolume, 2000);
LimitMax(m_nSamplePreAmp, 2000u);
LimitMax(m_nVSTiVolume, 2000u);
if(!m_tempoSwing.empty())
m_tempoSwing.resize(m_nDefaultRowsPerBeat);

Expand Down

0 comments on commit c8153cd

Please sign in to comment.