Fix warnings.

This commit is contained in:
Glenn Maynard
2003-09-07 22:48:25 +00:00
parent 65e44b1f86
commit 14d12df8e0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ void MusicBannerWheel::ScanToNextGroup()
localPos++;
while(localPos != startingPos)
{
if(localPos >= arraySongs.size()-1)
if(localPos >= (int) arraySongs.size()-1)
{
localPos = 0;
}
+1 -1
View File
@@ -997,7 +997,7 @@ void NoteDataUtil::Scale( NoteData &nd, float fScale )
{
temp.SetTapNote( t, r, TAP_EMPTY );
int new_row = r*fScale;
int new_row = int(r*fScale);
nd.SetTapNote( t, new_row, tn );
}
}
+1 -1
View File
@@ -1546,7 +1546,7 @@ void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, int* iAnswers )
default: ASSERT(0);
}
float fOldClipboardEndBeat = m_NoteFieldEdit.m_fEndMarker;
// float fOldClipboardEndBeat = m_NoteFieldEdit.m_fEndMarker;
float fOldClipboardBeats = m_NoteFieldEdit.m_fEndMarker - m_NoteFieldEdit.m_fBeginMarker;
float fNewClipboardBeats = fOldClipboardBeats * fScale;
float fDeltaBeats = fNewClipboardBeats - fOldClipboardBeats;