[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:13:57 CEST 2006
On Sunday, 08 October 2006 at 17:11, Dominik 'Rathann' Mierzejewski wrote:
> 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
Same thing in vo_fbdev and vo_svga.
--
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_fbdev.c.warn 2006-06-05 19:39:23.000000000 +0200
+++ MPlayer-20114/libvo/vo_fbdev.c 2006-10-08 16:20:24.000000000 +0200
@@ -1188,7 +1188,7 @@
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:
{
--- MPlayer-20114/libvo/vo_svga.c.warn 2006-07-17 18:02:26.000000000 +0200
+++ MPlayer-20114/libvo/vo_svga.c 2006-10-08 16:20:24.000000000 +0200
@@ -371,7 +371,7 @@
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