[vlc-commits] audiounit_ios: fix cast warning
Thomas Guillem
git at videolan.org
Wed Mar 22 13:22:27 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Mar 22 13:19:55 2017 +0100| [af9bf3c6e78dd48f856cc6fce7831af2093dd6f0] | committer: Thomas Guillem
audiounit_ios: fix cast warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af9bf3c6e78dd48f856cc6fce7831af2093dd6f0
---
modules/audio_output/audiounit_ios.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/audiounit_ios.m b/modules/audio_output/audiounit_ios.m
index 0c7642f..de8ed8c 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -246,7 +246,7 @@ avas_GetOptimalChannelLayout(audio_output_t *p_aout, enum port_type *pport_type,
msg_Dbg(p_aout, "Output on %s, channel count: %u",
*pport_type == PORT_TYPE_HDMI ? "HDMI" :
*pport_type == PORT_TYPE_USB ? "USB" : "Default",
- layout ? layout->mNumberChannelDescriptions : 2);
+ layout ? (unsigned) layout->mNumberChannelDescriptions : 2);
*playout = layout;
return VLC_SUCCESS;
More information about the vlc-commits
mailing list