diff src/video/SDL_video.c @ 1428:5f52867ba65c

Update for Visual C++ 6.0
author Sam Lantinga <slouken@libsdl.org>
date Fri, 24 Feb 2006 18:24:57 +0000
parents d910939febfa
children cf23b92602aa
line wrap: on
line diff
--- a/src/video/SDL_video.c	Fri Feb 24 17:03:06 2006 +0000
+++ b/src/video/SDL_video.c	Fri Feb 24 18:24:57 2006 +0000
@@ -995,10 +995,10 @@
 			return;
 
 		/* Fill the rectangle */
-		rect.x = x;
-		rect.y = y;
-		rect.w = w;
-		rect.h = h;
+		rect.x = (Sint16)x;
+		rect.y = (Sint16)y;
+		rect.w = (Uint16)w;
+		rect.h = (Uint16)h;
 		SDL_UpdateRects(screen, 1, &rect);
 	}
 }