mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 12:57:52 +00:00
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:
parent
e86d2e2e5b
commit
e5159cfb84
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ std::vector<u8> DecompressSegment(const std::vector<u8>& compressed_data,
|
||||||
const std::vector<u8> uncompressed_data =
|
const std::vector<u8> uncompressed_data =
|
||||||
Common::Compression::DecompressDataLZ4(compressed_data, header.size);
|
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());
|
uncompressed_data.size());
|
||||||
|
|
||||||
return uncompressed_data;
|
return uncompressed_data;
|
||||||
|
|
Loading…
Reference in a new issue