[vlc-commits] mmstu: remove no-op cast
    Rémi Denis-Courmont 
    git at videolan.org
       
    Mon Dec  3 18:56:24 CET 2018
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec  3 19:52:53 2018 +0200| [0bbab474a1d31f3c1af723b8d3d5cb8e499c4333] | committer: Rémi Denis-Courmont
mmstu: remove no-op cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bbab474a1d31f3c1af723b8d3d5cb8e499c4333
---
 modules/access/mms/mmstu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c
index 37e3a60926..4cc20c65a6 100644
--- a/modules/access/mms/mmstu.c
+++ b/modules/access/mms/mmstu.c
@@ -257,7 +257,7 @@ static int Control( stream_t *p_access, int i_query, va_list args )
 
         case STREAM_GET_PRIVATE_ID_STATE:
             i_int = va_arg( args, int );
-            pb_bool = (bool *)va_arg( args, bool * );
+            pb_bool = va_arg( args, bool * );
 
             if( i_int < 0 || i_int > 127 )
                 return VLC_EGENERIC;
    
    
More information about the vlc-commits
mailing list