[vlc-commits] access/http: Control: remove redundant casts
    Filip Roséen 
    git at videolan.org
       
    Wed Mar 22 08:23:50 CET 2017
    
    
  
vlc | branch: master | Filip Roséen <filip at atch.se> | Wed Mar 22 04:38:22 2017 +0100| [9169f39f4058a8c9ff415a0e1e85ab35d6ef5f4f] | committer: Rémi Denis-Courmont
access/http: Control: remove redundant casts
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9169f39f4058a8c9ff415a0e1e85ab35d6ef5f4f
---
 modules/access/http.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/access/http.c b/modules/access/http.c
index 8bda86d..084b358 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -578,18 +578,18 @@ static int Control( access_t *p_access, int i_query, va_list args )
         /* */
         case STREAM_CAN_SEEK:
         case STREAM_CAN_FASTSEEK:
-            pb_bool = (bool*)va_arg( args, bool* );
+            pb_bool = va_arg( args, bool* );
             *pb_bool = false;
             break;
         case STREAM_CAN_PAUSE:
         case STREAM_CAN_CONTROL_PACE:
-            pb_bool = (bool*)va_arg( args, bool* );
+            pb_bool = va_arg( args, bool* );
             *pb_bool = true;
             break;
 
         /* */
         case STREAM_GET_PTS_DELAY:
-            pi_64 = (int64_t*)va_arg( args, int64_t * );
+            pi_64 = va_arg( args, int64_t * );
             *pi_64 = INT64_C(1000)
                 * var_InheritInteger( p_access, "network-caching" );
             break;
    
    
More information about the vlc-commits
mailing list