diff options
| author | Jonas <104419015+jojo-chaechae@users.noreply.github.com> | 2026-11-03 05:26:17 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-03 05:26:17 +0600 |
| commit | 8c6539b564adf7b5c595b4dd543bc5b504db17a1 (patch) | |
| tree | 5c72eda4ab531c78045f74c8547b760f2978bd99 /src | |
| parent | 8362c44ff835d7be73d2adad9ce3e2d4467a6aeb (diff) | |
| parent | 76f6aec860116ed2044e98770fda6e24289a5672 (diff) | |
Merge pull request #327 from daniel-cabral/fix/nup-writer-msvc
tests when building on Windows: compare FindBestUpdatePackage with a size_t
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/core/nup_writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/core/nup_writer.cpp b/src/tests/core/nup_writer.cpp index 3167a28baf..1ce9661218 100644 --- a/src/tests/core/nup_writer.cpp +++ b/src/tests/core/nup_writer.cpp @@ -228,7 +228,7 @@ TEST_CASE("NUP packs base, updates and add-ons and reads back through NupContain REQUIRE(packages[3].kind == NupContainer::PackageKind::Addon); REQUIRE(packages[3].title_id == 0x0400ABCD00011001ULL); REQUIRE(packages[3].exefs_dir == 0xFFFFFFFF); - REQUIRE(nup.FindBestUpdatePackage() == 2); + REQUIRE(nup.FindBestUpdatePackage() == std::size_t{2}); REQUIRE(PackedTree(nup.GetExeFSDir(0)) == SourceTree(root / "Base/ExeFS")); REQUIRE(PackedTree(nup.GetRomFSDir(0)) == SourceTree(root / "Base/RomFS")); |
