yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

loader/nso: Silence sign-comparison warning

This was previously performing a size_t == int comparison. Silences a
-Wsign-compare warning.
This commit is contained in:
Lioncash 2019-05-25 16:53:31 -04:00
parent e86d2e2e5b
commit e5159cfb84
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ std::vector<u8> DecompressSegment(const std::vector<u8>& compressed_data,
const std::vector<u8> uncompressed_data =
Common::Compression::DecompressDataLZ4(compressed_data, header.size);
ASSERT_MSG(uncompressed_data.size() == static_cast<int>(header.size), "{} != {}", header.size,
ASSERT_MSG(uncompressed_data.size() == header.size, "{} != {}", header.size,
uncompressed_data.size());
return uncompressed_data;