[Mplayer-cvslog] CVS: main/libvo vo_svga.c,1.75,1.76

D Richard Felker III dalias at aerifal.cx
Wed Nov 3 16:35:22 CET 2004


On Sun, Oct 31, 2004 at 07:05:12PM +0100, Atmosfear wrote:
> CVS change done by Atmosfear
> 
> Update of /cvsroot/mplayer/main/libvo
> In directory mail:/var2/tmp/cvs-serv6009
> 
> Modified Files:
> 	vo_svga.c 
> Log Message:
> gcc-4 compile fix: invalid lvalue in assignment
> 
> Index: vo_svga.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libvo/vo_svga.c,v
> retrieving revision 1.75
> retrieving revision 1.76
> diff -u -r1.75 -r1.76
> --- vo_svga.c	28 Oct 2004 01:15:52 -0000	1.75
> +++ vo_svga.c	31 Oct 2004 18:05:10 -0000	1.76
> @@ -747,7 +747,7 @@
>        mpi->stride[0] = mode_stride;
>        mpi->planes[0] = PageStore[page].vbase + 
>               y_pos*mode_stride + (x_pos*mpi->bpp)/8;
> -      (int)mpi->priv=page;
> +      mpi->priv=(int)page;

wrong. should be mpi->priv=(void*)page;

rich




More information about the MPlayer-cvslog mailing list