Fix warnings.
This commit is contained in:
@@ -315,7 +315,7 @@ bool BMSLoader::LoadFromBMSFile( const CString &sPath, Steps &out, const map<CSt
|
||||
|
||||
// some BMS files seem to have funky alignment, causing us to write gigantic cache files.
|
||||
// Try to correct for this by quantizing.
|
||||
row = Quantize( row, ROWS_PER_MEASURE/64 );
|
||||
row = int(Quantize( float(row), ROWS_PER_MEASURE/64 ));
|
||||
|
||||
BmsTrack bmsTrack;
|
||||
bool bIsHold;
|
||||
|
||||
@@ -229,7 +229,7 @@ unsigned RageSoundReader_Chain::ActivateSound( const sound &s )
|
||||
|
||||
void RageSoundReader_Chain::ReleaseSound( unsigned n )
|
||||
{
|
||||
ASSERT_M( n < m_apActiveSounds.size(), ssprintf("%i, %i", n, m_apActiveSounds.size()) );
|
||||
ASSERT_M( n < m_apActiveSounds.size(), ssprintf("%u, %u", n, unsigned(m_apActiveSounds.size())) );
|
||||
SoundReader *pSound = m_apActiveSounds[n].pSound;
|
||||
|
||||
/* If pSoundToFree is in m_apLoadedSounds, just set it unused. */
|
||||
|
||||
Reference in New Issue
Block a user