Fix warnings.

This commit is contained in:
Steve Checkoway
2004-10-25 03:44:28 +00:00
parent de945128fa
commit 9582577d84
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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. */