[vlc-commits] xa: fix sign warning
Rémi Denis-Courmont
git at videolan.org
Mon Jul 24 18:32:22 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 24 19:24:33 2017 +0300| [63b4c6d52b166f784d513cf065f0a4b689e0284f] | committer: Rémi Denis-Courmont
xa: fix sign warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63b4c6d52b166f784d513cf065f0a4b689e0284f
---
modules/demux/xa.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/demux/xa.c b/modules/demux/xa.c
index 6d43e55b3c..f673002a18 100644
--- a/modules/demux/xa.c
+++ b/modules/demux/xa.c
@@ -212,8 +212,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
demux_sys_t *p_sys = p_demux->p_sys;
return demux_vaControlHelper( p_demux->s, HEADER_LENGTH,
- p_sys->i_data_size
- ? HEADER_LENGTH + p_sys->i_data_size : -1,
+ p_sys->i_data_size ? (int64_t)HEADER_LENGTH + p_sys->i_data_size : -1,
p_sys->i_bitrate, p_sys->i_frame_size,
i_query, args );
}
More information about the vlc-commits
mailing list