[vlc-commits] dtv: fix ACCESS_GET_PRIVATE_ID_STATE parameter types

Rémi Denis-Courmont git at videolan.org
Fri Aug 28 20:03:33 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Aug 28 21:02:18 2015 +0300| [6dac806b099b628b9cf01ecbf441da8f4225a3bf] | committer: Rémi Denis-Courmont

dtv: fix ACCESS_GET_PRIVATE_ID_STATE parameter types

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

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

diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
index fd868ab..2f164c7 100644
--- a/modules/access/dtv/access.c
+++ b/modules/access/dtv/access.c
@@ -561,8 +561,8 @@ static int Control (access_t *access, int query, va_list args)
 
         case ACCESS_SET_PRIVATE_ID_STATE:
         {
-            unsigned pid = va_arg (args, unsigned);
-            bool add = va_arg (args, unsigned);
+            unsigned pid = va_arg (args, int);
+            bool add = va_arg (args, int);
 
             if (unlikely(pid > 0x1FFF))
                 return VLC_EGENERIC;



More information about the vlc-commits mailing list