aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-02-20 20:32:24 +0100
committerGitHub <noreply@github.com>2018-02-20 20:32:24 +0100
commitf6030103cf8a4a155c9c13f03c9e6b789a80808b (patch)
tree537777831503b4c6b2f8c3eb7c806b611d6d9302
parent313d88b0a820e13c8453603aa22ca139ea0bc261 (diff)
parent7cc52dc321066d26f44ea89355cec2d1071f8d1b (diff)
Merge pull request #13567 from Rechi/cleanup/warning
[cleanup] silence sign compare warning
-rw-r--r--xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp
index 09c50013ca..a84419e37d 100644
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp
@@ -145,7 +145,7 @@ bool CDVDAudioCodecPassthrough::AddData(const DemuxPacket &packet)
if (used != iSize)
{
- if (m_backlogBufferSize < (iSize - used))
+ if (m_backlogBufferSize < static_cast<unsigned int>(iSize - used))
{
m_backlogBufferSize = std::max(61440, iSize - used);
m_backlogBuffer = static_cast<uint8_t*>(realloc(m_backlogBuffer, m_backlogBufferSize));