From 8cbf965af0c2e2197d944d375589dae6d4075b8e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 14 Jun 2004 20:31:23 +0000 Subject: [PATCH] fix warnings --- stepmania/src/RageSurface_Load_BMP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageSurface_Load_BMP.cpp b/stepmania/src/RageSurface_Load_BMP.cpp index 64c8c738c8..03b9a9d902 100644 --- a/stepmania/src/RageSurface_Load_BMP.cpp +++ b/stepmania/src/RageSurface_Load_BMP.cpp @@ -177,7 +177,7 @@ try { /* file reading may throw */ /* Expand 1- and 4-bits to 8-bits. */ if( iFileBPP == 1 ) { - for( unsigned x = 0; x < (int) iWidth; ++x ) + for( unsigned x = 0; x < iWidth; ++x ) { int iByteNo = x >> 3; int iBitNo = 7-(x&7); @@ -187,7 +187,7 @@ try { /* file reading may throw */ } else if( iFileBPP == 4 ) { - for( unsigned x = 0; x < (int) iWidth; ++x ) + for( unsigned x = 0; x < iWidth; ++x ) { if( (x & 1) == 0 ) pRow[x] = buf[x/2] & 0x0F;