diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-01-04 20:03:09 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-01-04 20:03:12 -0500 |
| commit | c52d1e735ab1a083cfdf0c087f70a1c7aef9b72f (patch) | |
| tree | d9580db23ac0f28d9a15dacab182d967fc62266c /Source/Core/DiscIO/DiscScrubber.cpp | |
| parent | 6ff21c48cba204b6392eb622ede213e4389cb3a9 (diff) | |
DiscScrubber: Use an unsigned loop index in ParseDisc
Prevents an implicit signed to unsigned conversion when assigning a
partition's group number.
Diffstat (limited to 'Source/Core/DiscIO/DiscScrubber.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscScrubber.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscScrubber.cpp b/Source/Core/DiscIO/DiscScrubber.cpp index c41e402b28..bceda5c484 100644 --- a/Source/Core/DiscIO/DiscScrubber.cpp +++ b/Source/Core/DiscIO/DiscScrubber.cpp @@ -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)) |
