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_DCP_internal.h | |
| parent | 502ee050855da2af9e73c6be8aa2f6f2d73c52f9 (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 ad21170..a08d56a 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); |
