From d968b7cfd17b487a6f3b66242315acc3ca4c1d9b Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 21 Sep 2017 22:40:17 +0200 Subject: [PATCH] Prevent comparison of signed and unsigned --- mp4/mp4track.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp4/mp4track.cpp b/mp4/mp4track.cpp index 0aedcc1..7ae57a2 100644 --- a/mp4/mp4track.cpp +++ b/mp4/mp4track.cpp @@ -429,7 +429,7 @@ TrackHeaderInfo Mp4Track::verifyPresentTrackHeader() const } // check whether the existing tkhd atom is not truncated - if(info.additionalDataOffset + 48 <= m_tkhdAtom->dataSize()) { + if(info.additionalDataOffset + 48u <= m_tkhdAtom->dataSize()) { info.canUseExisting = true; } else { info.truncated = true;