[vlc-commits] satip: remove redundant casts

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:30:09 2017 +0300| [0f33619334ac78a4811f4afb03b31fb06296b730] | committer: Rémi Denis-Courmont

satip: remove redundant casts

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

 modules/access/satip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/satip.c b/modules/access/satip.c
index ef7d1ebd0c..13527fe7e8 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -564,12 +564,12 @@ static int satip_control(access_t *access, int i_query, va_list args) {
         case STREAM_CAN_CONTROL_PACE:
         case STREAM_CAN_SEEK:
         case STREAM_CAN_PAUSE:
-            pb_bool = (bool*)va_arg(args, bool*);
+            pb_bool = va_arg(args, bool *);
             *pb_bool = false;
             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(access, "live-caching");
             break;
 



More information about the vlc-commits mailing list