Source

pygame / src / overlay.c

Diff from to

src/overlay.c

 
     if(src_y)
 	{
-		void *dst_y=0, *dst_u=0, *dst_v=0;
+                Uint8 *dst_y=0, *dst_u=0, *dst_v=0;
 		SDL_LockYUVOverlay( self->cOverlay );
 
 		// No clipping at this time( only support for YUV420 )
-		dst_y = (void*)self->cOverlay->pixels[ 0 ];
-		dst_v = (void*)self->cOverlay->pixels[ 1 ];
-		dst_u = (void*)self->cOverlay->pixels[ 2 ];
+
+                dst_y = self->cOverlay->pixels[ 0 ];
+                dst_v = self->cOverlay->pixels[ 1 ];
+                dst_u = self->cOverlay->pixels[ 2 ];
+
 		for (y=0; y< self->cOverlay->h; y++)
 		{
 			memcpy( dst_y, src_y, self->cOverlay->w );