From 702ceefdd74e126a421f579df28e629cb1a2a0d3 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Mon, 18 Mar 2019 07:11:09 +0000 Subject: [PATCH] flac: silence warning Signed-off-by: Thomas Guillem --- 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;