changeset 24817:d30cb71c0103

Get rid of void pointer arithmetic.
author zuxy
date Tue, 23 Oct 2007 08:28:11 +0000
parents ba929c5ee0bc
children 1e1d16ef51c8
files libvo/vosub_vidix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vosub_vidix.c	Tue Oct 23 00:44:22 2007 +0000
+++ b/libvo/vosub_vidix.c	Tue Oct 23 08:28:11 2007 +0000
@@ -250,7 +250,7 @@
 static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)
 {
     uint32_t apitch,bespitch;
-    void *lvo_mem;
+    char *lvo_mem;
     lvo_mem = vidix_mem + vidix_play.offsets[next_frame] + vidix_play.offset.y;
     apitch = vidix_play.dest.pitch.y-1;
     switch(vidix_play.fourcc){