From fa029bc2d3bc95fa3ef436b04b62b20aedc4f36f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Apr 2020 20:34:06 +0200 Subject: Fix comparisons between signed and unsigned values. --- src/AS_02_PCM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AS_02_PCM.cpp') diff --git a/src/AS_02_PCM.cpp b/src/AS_02_PCM.cpp index 79dc62c..de64122 100644 --- a/src/AS_02_PCM.cpp +++ b/src/AS_02_PCM.cpp @@ -168,7 +168,7 @@ AS_02::PCM::MXFReader::h__Reader::ReadFrame(ui32_t FrameNum, ASDCP::PCM::FrameBu ui64_t position = m_ClipEssenceBegin + offset; Result_t result = RESULT_OK; - if ( m_File.Tell() != position ) + if ( m_File.Tell() != static_cast(position) ) { result = m_File.Seek(position); } -- cgit v1.2.3