Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
xrSimpodin committed Dec 16, 2024
1 parent 9abb2f1 commit 8c83c8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ogsr_engine/xrCore/FS.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class IReaderBase
if (m_last_pos != 0)
{
impl().seek(m_last_pos);
if (impl().elapsed() >= static_cast<int>(sizeof u32 * 2))
if (impl().elapsed() >= static_cast<int>(sizeof(u32) * 2))
{
dwType = r_u32();
dwSize = r_u32();
Expand All @@ -299,7 +299,7 @@ class IReaderBase
if (!success)
{
rewind();
while (impl().elapsed() >= static_cast<int>(sizeof u32 * 2)) // while (!eof())
while (impl().elapsed() >= static_cast<int>(sizeof(u32) * 2)) // while (!eof())
{
dwType = r_u32();
dwSize = r_u32();
Expand Down Expand Up @@ -353,7 +353,7 @@ class IReaderBase
if (m_last_pos != 0)
{
impl().seek(m_last_pos);
if (impl().elapsed() >= static_cast<int>(sizeof u32 * 2))
if (impl().elapsed() >= static_cast<int>(sizeof(u32) * 2))
{
dwType = r_u32();
dwSize = r_u32();
Expand All @@ -367,7 +367,7 @@ class IReaderBase
if (!success)
{
rewind();
while (impl().elapsed() >= static_cast<int>(sizeof u32 * 2)) // while (!eof())
while (impl().elapsed() >= static_cast<int>(sizeof(u32) * 2)) // while (!eof())
{
dwType = r_u32();
dwSize = r_u32();
Expand Down

0 comments on commit 8c83c8b

Please sign in to comment.