summaryrefslogtreecommitdiffstats
path: root/libmpdemux/ebml.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/ebml.c')
-rw-r--r--libmpdemux/ebml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/ebml.c b/libmpdemux/ebml.c
index 378c077fe2..ad6c2cb787 100644
--- a/libmpdemux/ebml.c
+++ b/libmpdemux/ebml.c
@@ -51,7 +51,7 @@ ebml_read_vlen_uint (uint8_t *buffer, int *length)
j = i+1;
if (length)
*length = j;
- if ((num &= (len_mask - 1)) == len_mask - 1)
+ if ((int)(num &= (len_mask - 1)) == len_mask - 1)
num_ffs++;
while (i--)
{
@@ -99,7 +99,7 @@ ebml_read_length (stream_t *s, int *length)
j = i+1;
if (length)
*length = j;
- if ((len &= (len_mask - 1)) == len_mask - 1)
+ if ((int)(len &= (len_mask - 1)) == len_mask - 1)
num_ffs++;
while (i--)
{