summaryrefslogtreecommitdiff
path: root/src/AS_02_PCM.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-06 20:34:06 +0200
committerCarl Hetherington <cth@carlh.net>2020-12-26 21:36:29 +0100
commitfa029bc2d3bc95fa3ef436b04b62b20aedc4f36f (patch)
treed4b9283fd6b71486e5ef053d9af1ebc84a674b34 /src/AS_02_PCM.cpp
parentfc627ac4a9249f36b03d7a754bd65adc32651ba5 (diff)
Fix comparisons between signed and unsigned values.
Diffstat (limited to 'src/AS_02_PCM.cpp')
-rw-r--r--src/AS_02_PCM.cpp2
1 files changed, 1 insertions, 1 deletions
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<Kumu::fpos_t>(position) )
{
result = m_File.Seek(position);
}