[vlc-commits] screen: remove redundant casts
Rémi Denis-Courmont
git at videolan.org
Wed Apr 19 19:49:20 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:30:25 2017 +0300| [df48b83885fa24929f5dd5a96b8db0ae19bc8160] | committer: Rémi Denis-Courmont
screen: remove redundant casts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df48b83885fa24929f5dd5a96b8db0ae19bc8160
---
modules/access/screen/screen.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/access/screen/screen.c b/modules/access/screen/screen.c
index 5dffd5f597..7fb4a11210 100644
--- a/modules/access/screen/screen.c
+++ b/modules/access/screen/screen.c
@@ -312,18 +312,18 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case DEMUX_CAN_SEEK:
case DEMUX_CAN_CONTROL_PACE:
/* TODO */
- pb = (bool*)va_arg( args, bool * );
+ pb = va_arg( args, bool * );
*pb = false;
return VLC_SUCCESS;
case DEMUX_GET_PTS_DELAY:
- pi64 = (int64_t*)va_arg( args, int64_t * );
+ pi64 = va_arg( args, int64_t * );
*pi64 = INT64_C(1000)
* var_InheritInteger( p_demux, "live-caching" );
return VLC_SUCCESS;
case DEMUX_GET_TIME:
- pi64 = (int64_t*)va_arg( args, int64_t * );
+ pi64 = va_arg( args, int64_t * );
*pi64 = mdate() - p_sys->i_start;
return VLC_SUCCESS;
More information about the vlc-commits
mailing list