Commit 6dac806b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dtv: fix ACCESS_GET_PRIVATE_ID_STATE parameter types

parent 4125beed
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment