enable warning 4296: 'operator': expression is always false
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -52,7 +52,6 @@ namespace AssetProcessor
|
||||
SizeType finalPosition = GenericStream::ComputeSeekPosition(bytes, mode);
|
||||
|
||||
AZ_Assert(finalPosition < INT_MAX, "Overflow of SizeType to int in ByteArrayStream.");
|
||||
AZ_Assert(finalPosition >= 0, "underflow in seek in ByteArrayStream");
|
||||
AZ_Assert(finalPosition <= m_activeArray->size(), "You cant seek beyond end of file");
|
||||
|
||||
// safety clamp!
|
||||
|
||||
Reference in New Issue
Block a user