From 70af7585458306043372f7ce843ae526a65e4a1d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 5 Mar 2003 23:47:08 +0000 Subject: [PATCH] fix minor warnings --- stepmania/src/BGAnimationLayer.cpp | 6 +++--- stepmania/src/BGAnimationLayer.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index 39c079f1f0..56f46255ca 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -263,7 +263,7 @@ void BGAnimationLayer::LoadFromAniLayerFile( CString sPath, CString sSongBGPath int iSpriteArea = int( m_Sprites[0].GetUnzoomedWidth()*m_Sprites[0].GetUnzoomedHeight() ); int iMaxArea = SCREEN_WIDTH*SCREEN_HEIGHT; m_iNumSprites = m_iNumParticles = iMaxArea / iSpriteArea; - m_iNumSprites = m_iNumParticles = min( m_iNumSprites, MAX_SPRITES ); + m_iNumSprites = m_iNumParticles = min( m_iNumSprites, unsigned(MAX_SPRITES) ); for( unsigned i=0; iPlay(); - for( int i=0; i