This commit is contained in:
Oleg Korshul
2024-10-08 11:30:56 +03:00
committed by Oleg Korshul
parent 45828709ee
commit 11121961d9

View File

@ -106,7 +106,7 @@ int MemoryStream::ReadInt32()
{
int rdInt = 0;
if (m_Data && (m_Position + sizeof(int) <= m_Size))
if (m_Data && (m_Position + sizeof(_INT32) <= m_Size))
{
rdInt = DocFileFormat::FormatUtils::BytesToInt32 (m_Data, m_Position, m_Size);
m_Position += 4;