mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-29 22:05:42 +00:00
Quick code style fix
This commit is contained in:
1 parent
83d76acedc
commit
8778421ebb
1 file changed
+1
-1
@@ -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