changeset 13829:87f739790de5

gcc-4 compile fix: invalid lvalue in assignment
author atmos4
date Sun, 31 Oct 2004 18:05:10 +0000
parents b4ad5f0b550d
children f7ddd8c4c547
files libvo/vo_svga.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_svga.c	Sun Oct 31 18:01:14 2004 +0000
+++ b/libvo/vo_svga.c	Sun Oct 31 18:05:10 2004 +0000
@@ -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;
       if(verbose>2)
         printf("vo_svga: direct render allocated! page=%d\n",page);
       return(VO_TRUE);