[vlc-commits] flac: silence warning
Lyndon Brown
git at videolan.org
Wed Mar 20 15:34:44 CET 2019
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Mon Mar 18 07:11:09 2019 +0000| [702ceefdd74e126a421f579df28e629cb1a2a0d3] | committer: Thomas Guillem
flac: silence warning
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=702ceefdd74e126a421f579df28e629cb1a2a0d3
---
modules/codec/flac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index da8a90416b..850ea002c9 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -354,7 +354,7 @@ static void DecoderMetadataCallback( const FLAC__StreamDecoder *decoder,
}
}
/* Check if we have the 1 to 1 mapping */
- if( vlc_popcount(i_vlcmask) != i_wfxchannels )
+ if( (unsigned) vlc_popcount(i_vlcmask) != i_wfxchannels )
{
msg_Warn( p_dec, "Unsupported channel mask %x", i_wfxmask );
return;
More information about the vlc-commits
mailing list