fix various instances of -1 being assigned to unsigned types

This commit is contained in:
Shawn Hoffman
2017-06-07 04:16:02 -07:00
parent be7c6a0819
commit e1a3e41bf3
15 changed files with 25 additions and 27 deletions

View File

@ -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);