diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-06 20:34:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-11 01:28:41 +0200 |
| commit | 151c66ce6e04a361ba5bc34776cf6f5146fc53b5 (patch) | |
| tree | 4c58212435d919a3f6e62974a559bfd2edf7385f /src/AS_02_PCM.cpp | |
| parent | 502ee050855da2af9e73c6be8aa2f6f2d73c52f9 (diff) | |
Fix comparisons between signed and unsigned values.
Diffstat (limited to 'src/AS_02_PCM.cpp')
| -rw-r--r-- | src/AS_02_PCM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AS_02_PCM.cpp b/src/AS_02_PCM.cpp index 1d7ab5e..1d090e6 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); } |
