DiscScrubber: Use an unsigned loop index in ParseDisc

Prevents an implicit signed to unsigned conversion when assigning a
partition's group number.
This commit is contained in:
Lioncash 2017-01-04 20:03:09 -05:00
parent 6ff21c48cb
commit c52d1e735a
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ bool DiscScrubber::ParseDisc()
// Mark the header as used - it's mostly 0s anyways
MarkAsUsed(0, 0x50000);
for (int x = 0; x < 4; x++)
for (u32 x = 0; x < 4; x++)
{
if (!ReadFromVolume(0x40000 + (x * 8) + 0, m_partition_group[x].num_partitions, false) ||
!ReadFromVolume(0x40000 + (x * 8) + 4, m_partition_group[x].partitions_offset, false))