diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-06 20:34:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-26 21:36:29 +0100 |
| commit | fa029bc2d3bc95fa3ef436b04b62b20aedc4f36f (patch) | |
| tree | d4b9283fd6b71486e5ef053d9af1ebc84a674b34 /src/AS_DCP_internal.h | |
| parent | fc627ac4a9249f36b03d7a754bd65adc32651ba5 (diff) | |
Fix comparisons between signed and unsigned values.
Diffstat (limited to 'src/AS_DCP_internal.h')
| -rwxr-xr-x | src/AS_DCP_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h index cdcb392..39b2500 100755 --- a/src/AS_DCP_internal.h +++ b/src/AS_DCP_internal.h @@ -357,7 +357,7 @@ namespace ASDCP // get absolute frame position and go read the frame's key and length Result_t result = RESULT_OK; - if ( TmpEntry.StreamOffset != m_LastPosition ) + if ( static_cast<Kumu::fpos_t>(TmpEntry.StreamOffset) != m_LastPosition ) { m_LastPosition = TmpEntry.StreamOffset; result = m_File.Seek(TmpEntry.StreamOffset); |
