[vlc-commits] x11: remove redundant cast

Rémi Denis-Courmont git at videolan.org
Wed Apr 19 19:51:18 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:43:38 2017 +0300| [8cd1c825eb740579d7c458f7e73fe27d3ba3cdb0] | committer: Rémi Denis-Courmont

x11: remove redundant cast

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cd1c825eb740579d7c458f7e73fe27d3ba3cdb0
---

 modules/video_output/xcb/x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 81501b74e9..2bd6d8c4a6 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -457,7 +457,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
     case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
     {
         const vout_display_cfg_t *p_cfg =
-            (const vout_display_cfg_t*)va_arg (ap, const vout_display_cfg_t *);
+            va_arg (ap, const vout_display_cfg_t *);
         vout_display_place_t place;
 
         vout_display_PlacePicture (&place, &vd->source, p_cfg, false);



More information about the vlc-commits mailing list