hush warning

This commit is contained in:
Glenn Maynard
2003-07-06 20:32:08 +00:00
parent 221d2d1b36
commit a0bc9ef4f5
+2 -2
View File
@@ -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;