Fix warnings.
This commit is contained in:
@@ -292,7 +292,7 @@ void MusicBannerWheel::ScanToNextGroup()
|
|||||||
localPos++;
|
localPos++;
|
||||||
while(localPos != startingPos)
|
while(localPos != startingPos)
|
||||||
{
|
{
|
||||||
if(localPos >= arraySongs.size()-1)
|
if(localPos >= (int) arraySongs.size()-1)
|
||||||
{
|
{
|
||||||
localPos = 0;
|
localPos = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -997,7 +997,7 @@ void NoteDataUtil::Scale( NoteData &nd, float fScale )
|
|||||||
{
|
{
|
||||||
temp.SetTapNote( t, r, TAP_EMPTY );
|
temp.SetTapNote( t, r, TAP_EMPTY );
|
||||||
|
|
||||||
int new_row = r*fScale;
|
int new_row = int(r*fScale);
|
||||||
nd.SetTapNote( t, new_row, tn );
|
nd.SetTapNote( t, new_row, tn );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1546,7 +1546,7 @@ void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, int* iAnswers )
|
|||||||
default: ASSERT(0);
|
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 fOldClipboardBeats = m_NoteFieldEdit.m_fEndMarker - m_NoteFieldEdit.m_fBeginMarker;
|
||||||
float fNewClipboardBeats = fOldClipboardBeats * fScale;
|
float fNewClipboardBeats = fOldClipboardBeats * fScale;
|
||||||
float fDeltaBeats = fNewClipboardBeats - fOldClipboardBeats;
|
float fDeltaBeats = fNewClipboardBeats - fOldClipboardBeats;
|
||||||
|
|||||||
Reference in New Issue
Block a user