diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2017-06-07 04:16:02 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2017-06-07 19:52:07 -0700 |
| commit | e1a3e41bf33bf6a366760ede17c2e3bd2b106116 (patch) | |
| tree | a2d6b34b5603794a24c0e6acd998e52d6313aeb0 /Source/Core/DiscIO/VolumeWii.cpp | |
| parent | be7c6a081918ac2240f6a2e4e51ca6e3daa0f032 (diff) | |
fix various instances of -1 being assigned to unsigned types
Diffstat (limited to 'Source/Core/DiscIO/VolumeWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWii.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp index f928bbcdf3..4b6ef56539 100644 --- a/Source/Core/DiscIO/VolumeWii.cpp +++ b/Source/Core/DiscIO/VolumeWii.cpp @@ -32,7 +32,8 @@ namespace DiscIO constexpr u64 PARTITION_DATA_OFFSET = 0x20000; VolumeWii::VolumeWii(std::unique_ptr<BlobReader> reader) - : m_pReader(std::move(reader)), m_game_partition(PARTITION_NONE), m_last_decrypted_block(-1) + : m_pReader(std::move(reader)), m_game_partition(PARTITION_NONE), + m_last_decrypted_block(UINT64_MAX) { _assert_(m_pReader); |
