[MPlayer-dev-eng] [PATCH] remove spurious casts to int from vo_*vidix.c

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Oct 8 17:11:40 CEST 2006


Fixes:
vo_cvidix.c: In function ‘control’:
vo_cvidix.c:175: warning: cast to pointer from integer of different size
vo_xvidix.c: In function ‘control’:
vo_xvidix.c:545: warning: cast to pointer from integer of different size

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
-------------- next part --------------
--- MPlayer-20114/libvo/vo_xvidix.c.warn	2006-06-18 10:20:54.000000000 +0200
+++ MPlayer-20114/libvo/vo_xvidix.c	2006-10-08 16:20:24.000000000 +0200
@@ -542,7 +542,7 @@
 
                 va_end(ap);
 
-                return vidix_control(request, data, (int *) value);
+                return vidix_control(request, data, value);
             }
         case VOCTRL_GET_EQUALIZER:
             {
--- MPlayer-20114/libvo/vo_cvidix.c.warn	2006-06-05 19:39:23.000000000 +0200
+++ MPlayer-20114/libvo/vo_cvidix.c	2006-10-08 16:20:24.000000000 +0200
@@ -172,7 +172,7 @@
       va_start(ap, data);
       value = va_arg(ap, int);
       va_end(ap);
-      return vidix_control(request, data, (int *) value);
+      return vidix_control(request, data, value);
     }
   case VOCTRL_GET_EQUALIZER:
     {


More information about the MPlayer-dev-eng mailing list