From 4f2b546bfb37dadd46f96556676e88fc3bd54b09 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Mon, 23 Jun 2003 00:53:24 +0000 Subject: [PATCH] Fixed signed/unsigned warning git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@995 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/sdl/sdl_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c index c639985dd..3c926dc25 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c +++ b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c @@ -158,10 +158,10 @@ void TFB_BlitSurface (SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect, int blend_numer, int blend_denom) { BOOLEAN has_colorkey; - int x, y, x1, y1, x2, y2, dst_x2, dst_y2, colorkey, nr, ng, nb; + int x, y, x1, y1, x2, y2, dst_x2, dst_y2, nr, ng, nb; int srcx, srcy, w, h; Uint8 sr, sg, sb, dr, dg, db; - Uint32 src_pixval, dst_pixval; + Uint32 src_pixval, dst_pixval, colorkey; GetPixelFn src_getpix, dst_getpix; PutPixelFn putpix; SDL_Rect fulldst;