[vlc-commits] xcb/screen: remove superfluous cast
Rémi Denis-Courmont
git at videolan.org
Sun Nov 25 10:56:46 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 25 11:53:35 2012 +0200| [dae295b42e6cbe8a0cc934f3571518271aaa33be] | committer: Rémi Denis-Courmont
xcb/screen: remove superfluous cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dae295b42e6cbe8a0cc934f3571518271aaa33be
---
modules/access/screen/xcb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/screen/xcb.c b/modules/access/screen/xcb.c
index bca05d5..329922d 100644
--- a/modules/access/screen/xcb.c
+++ b/modules/access/screen/xcb.c
@@ -282,7 +282,7 @@ static int Control (demux_t *demux, int query, va_list args)
case DEMUX_CAN_CONTROL_RATE:
case DEMUX_CAN_SEEK:
{
- bool *v = (bool*)va_arg( args, bool * );
+ bool *v = va_arg (args, bool *);
*v = false;
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list