mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 23:38:09 -05:00
Quick code style fix
This commit is contained in:
@ -114,7 +114,7 @@ void XBlockInputStream::LoadDataInBlock(void* dst, const size_t size)
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user