mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
Quick code style fix
This commit is contained in:
parent
83d76acedc
commit
8778421ebb
@ -114,7 +114,7 @@ void XBlockInputStream::LoadDataInBlock(void* dst, const size_t size)
|
|||||||
throw OutOfBlockBoundsException(block);
|
throw OutOfBlockBoundsException(block);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reinterpret_cast<uint8_t*>(dst) + size > block->m_buffer + block->m_buffer_size)
|
if (static_cast<uint8_t*>(dst) + size > block->m_buffer + block->m_buffer_size)
|
||||||
{
|
{
|
||||||
throw BlockOverflowException(block);
|
throw BlockOverflowException(block);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user