src/video/SDL_video.c
changeset 1428 5f52867ba65c
parent 1402 d910939febfa
child 1491 cf23b92602aa
     1.1 --- a/src/video/SDL_video.c	Fri Feb 24 17:03:06 2006 +0000
     1.2 +++ b/src/video/SDL_video.c	Fri Feb 24 18:24:57 2006 +0000
     1.3 @@ -995,10 +995,10 @@
     1.4  			return;
     1.5  
     1.6  		/* Fill the rectangle */
     1.7 -		rect.x = x;
     1.8 -		rect.y = y;
     1.9 -		rect.w = w;
    1.10 -		rect.h = h;
    1.11 +		rect.x = (Sint16)x;
    1.12 +		rect.y = (Sint16)y;
    1.13 +		rect.w = (Uint16)w;
    1.14 +		rect.h = (Uint16)h;
    1.15  		SDL_UpdateRects(screen, 1, &rect);
    1.16  	}
    1.17  }