From a0bc9ef4f5dd602a3282b66f43249cba2611b324 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 6 Jul 2003 20:32:08 +0000 Subject: [PATCH] hush warning --- stepmania/src/SDL_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/SDL_utils.cpp b/stepmania/src/SDL_utils.cpp index 2339678044..0796197957 100644 --- a/stepmania/src/SDL_utils.cpp +++ b/stepmania/src/SDL_utils.cpp @@ -953,11 +953,11 @@ static void blit( SDL_Surface *src_surf, const SDL_Surface *dst_surf, int width, if( blit_traits::convert ) { Uint8 colors[4]; - if( blit_traits::convert == DIFFERENT_RGBA ) + if( blit_traits::convert == (int) DIFFERENT_RGBA ) { /* Convert pixel to the destination RGBA. */ mySDL_GetRGBAV(pixel, src_surf, colors); - } else if( blit_traits::convert == PAL_TO_RGBA ) { + } else if( blit_traits::convert == (int) PAL_TO_RGBA ) { /* Convert pixel to the destination RGBA. */ colors[0] = src_surf->format->palette->colors[pixel].r; colors[1] = src_surf->format->palette->colors[pixel].g;