changeset 33712:2d193c9affc7

Remove pointless and in addition incorrect cast.
author reimar
date Sat, 02 Jul 2011 23:26:05 +0000
parents bdddbf265c6e
children bf15e320d5e3
files libvo/mga_template.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/mga_template.c	Sat Jul 02 23:22:49 2011 +0000
+++ b/libvo/mga_template.c	Sat Jul 02 23:26:05 2011 +0000
@@ -440,7 +440,7 @@
 
 	mp_msg(MSGT_VO,MSGL_V,"[MGA] Using %d buffers.\n",mga_vid_config.num_frames);
 
-	frames[0] = (char*)mmap(0,mga_vid_config.frame_size*mga_vid_config.num_frames,PROT_WRITE,MAP_SHARED,f,0);
+	frames[0] = mmap(0,mga_vid_config.frame_size*mga_vid_config.num_frames,PROT_WRITE,MAP_SHARED,f,0);
 	frames[1] = frames[0] + 1*mga_vid_config.frame_size;
 	frames[2] = frames[0] + 2*mga_vid_config.frame_size;
 	frames[3] = frames[0] + 3*mga_vid_config.frame_size;