mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix integer sign difference comparison warnings
This commit is contained in:
@ -1113,10 +1113,11 @@ void VolumeVerifier::Process()
|
||||
bytes_to_read = Common::AlignUp(content.size, 0x40);
|
||||
content_read = true;
|
||||
|
||||
if (m_content_index + 1 < m_content_offsets.size() &&
|
||||
m_content_offsets[m_content_index + 1] < m_progress + bytes_to_read)
|
||||
const u16 next_content_index = m_content_index + 1;
|
||||
if (next_content_index < m_content_offsets.size() &&
|
||||
m_content_offsets[next_content_index] < m_progress + bytes_to_read)
|
||||
{
|
||||
excess_bytes = m_progress + bytes_to_read - m_content_offsets[m_content_index + 1];
|
||||
excess_bytes = m_progress + bytes_to_read - m_content_offsets[next_content_index];
|
||||
}
|
||||
}
|
||||
else if (m_content_index < m_content_offsets.size() &&
|
||||
|
Reference in New Issue
Block a user