From: <sv...@op...> - 2024-11-24 00:40:45
|
Author: sagamusix Date: Sun Nov 24 01:40:38 2024 New Revision: 22278 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22278 Log: [Fix] Silence warning. Modified: branches/OpenMPT-1.28/soundlib/Sndfile.cpp Modified: branches/OpenMPT-1.28/soundlib/Sndfile.cpp ============================================================================== --- branches/OpenMPT-1.28/soundlib/Sndfile.cpp Sun Nov 24 01:40:22 2024 (r22277) +++ branches/OpenMPT-1.28/soundlib/Sndfile.cpp Sun Nov 24 01:40:38 2024 (r22278) @@ -545,8 +545,8 @@ 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); |