# HG changeset patch # User zuxy # Date 1193128091 0 # Node ID d30cb71c010359d6827d2ab19f7bed891cfb75d3 # Parent ba929c5ee0bcad2d737071d656231df5cfd1489a Get rid of void pointer arithmetic. diff -r ba929c5ee0bc -r d30cb71c0103 libvo/vosub_vidix.c --- 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){