src/video/SDL_surface.c
changeset 1428 5f52867ba65c
parent 1402 d910939febfa
child 1456 84de7511f79f
     1.1 --- a/src/video/SDL_surface.c	Fri Feb 24 17:03:06 2006 +0000
     1.2 +++ b/src/video/SDL_surface.c	Fri Feb 24 18:24:57 2006 +0000
     1.3 @@ -687,7 +687,7 @@
     1.4  		    case 2:
     1.5  			for ( y=dstrect->h; y; --y ) {
     1.6  				Uint16 *pixels = (Uint16 *)row;
     1.7 -				Uint16 c = color;
     1.8 +				Uint16 c = (Uint16)color;
     1.9  				Uint32 cc = (Uint32)c << 16 | c;
    1.10  				int n = dstrect->w;
    1.11  				if((unsigned long)pixels & 3) {