Skip to content
Browse files

[cosmetic] fix warning

  • Loading branch information...
1 parent d2e534c commit 7646a9130d868160633469429113b0e47ab3703e Jonathan Marshall committed May 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp
View
2 xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp
@@ -505,7 +505,7 @@ bool CAESinkDARWINOSX::Initialize(AEAudioFormat &format, std::string &device)
m_planar = false;
if (streams.size() > 1 && outputFormat.mChannelsPerFrame == 1)
{
- CLog::Log(LOGDEBUG, "%s Found planar audio with %u channels?", __FUNCTION__, streams.size());
+ CLog::Log(LOGDEBUG, "%s Found planar audio with %u channels?", __FUNCTION__, (unsigned int)streams.size());
outputFormat.mChannelsPerFrame = std::min((size_t)format.m_channelLayout.Count(), streams.size());
m_planar = true;
}

0 comments on commit 7646a91

Please sign in to comment.
Something went wrong with that request. Please try again.