diff options
| author | 2019-05-25 16:53:31 -0400 | |
|---|---|---|
| committer | 2019-05-25 16:53:33 -0400 | |
| commit | e5159cfb84ef3e987cc1a5595b9c009117b1b264 (patch) | |
| tree | 9d4f6b0d25ddfc6a78f36c07dc1334387f0f053c | |
| parent | Merge pull request #2513 from lioncash/string (diff) | |
| download | yuzu-e5159cfb84ef3e987cc1a5595b9c009117b1b264.tar.gz yuzu-e5159cfb84ef3e987cc1a5595b9c009117b1b264.tar.xz yuzu-e5159cfb84ef3e987cc1a5595b9c009117b1b264.zip | |
loader/nso: Silence sign-comparison warning
This was previously performing a size_t == int comparison. Silences a
-Wsign-compare warning.
| -rw-r--r-- | src/core/loader/nso.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 8592b1f44..62c090353 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp | |||
| @@ -39,7 +39,7 @@ std::vector<u8> DecompressSegment(const std::vector<u8>& compressed_data, | |||
| 39 | const std::vector<u8> uncompressed_data = | 39 | const std::vector<u8> uncompressed_data = |
| 40 | Common::Compression::DecompressDataLZ4(compressed_data, header.size); | 40 | Common::Compression::DecompressDataLZ4(compressed_data, header.size); |
| 41 | 41 | ||
| 42 | ASSERT_MSG(uncompressed_data.size() == static_cast<int>(header.size), "{} != {}", header.size, | 42 | ASSERT_MSG(uncompressed_data.size() == header.size, "{} != {}", header.size, |
| 43 | uncompressed_data.size()); | 43 | uncompressed_data.size()); |
| 44 | 44 | ||
| 45 | return uncompressed_data; | 45 | return uncompressed_data; |