diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c index 9989d2a32c..f52465ce66 100644 --- a/libvo/vo_svga.c +++ b/libvo/vo_svga.c @@ -747,7 +747,7 @@ int page; 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; if(verbose>2) printf("vo_svga: direct render allocated! page=%d\n",page); return(VO_TRUE);