diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-11 11:23:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-03 16:44:25 +0100 |
| commit | d3e793c2fe149fc5dd99afcc8e97fba0302a8b99 (patch) | |
| tree | 516ceddcd84bbf9ce349c5cdc8c58bf5d0e1e9af /src/AS_DCP_internal.h | |
| parent | 3ac58e7f18a14d9950fcc9fe5c19a3ddc8aed571 (diff) | |
Fix some comparisons of signed with unsigned.
Diffstat (limited to 'src/AS_DCP_internal.h')
| -rwxr-xr-x | src/AS_DCP_internal.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h index e59af6f..6189323 100755 --- a/src/AS_DCP_internal.h +++ b/src/AS_DCP_internal.h @@ -331,7 +331,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 ( (Kumu::fpos_t) TmpEntry.StreamOffset != m_LastPosition ) { m_LastPosition = TmpEntry.StreamOffset; result = m_File.Seek(TmpEntry.StreamOffset); @@ -370,7 +370,7 @@ namespace ASDCP streamOffset = body_offset + TmpEntry.StreamOffset; temporalOffset = TmpEntry.TemporalOffset; keyFrameOffset = TmpEntry.KeyFrameOffset; - + return RESULT_OK; } @@ -380,7 +380,7 @@ namespace ASDCP m_File.Close(); } }; - + //------------------------------------------------------------------------------------------ // @@ -621,7 +621,7 @@ namespace ASDCP MPTrack.Clip->Duration.set_has_value(); m_DurationUpdateList.push_back(&(MPTrack.Clip->Duration.get())); - + // // File (Source) Package // @@ -727,7 +727,7 @@ namespace ASDCP m_DurationUpdateList.push_back(&(MPTrack.Clip->Duration)); - + // // File (Source) Package // @@ -814,7 +814,7 @@ namespace ASDCP } }; - + }/// namespace MXF //------------------------------------------------------------------------------------------ |
