aboutsummaryrefslogtreecommitdiff
path: root/src/tests/core/nup_writer.cpp
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-11-03 00:31:28 +0100
committercirakg <cirakg@cirakg.xyz>2026-11-03 00:31:28 +0100
commit45e12ca90a717856b8cef1c0d962112258aad068 (patch)
tree9917907d6ba19652acc710c06c308c7b19ac9933 /src/tests/core/nup_writer.cpp
parent844ebf0b09c3a8d9641ff095e4287b3d493181dc (diff)
parent0f9760e5ccfd336130f194c2564849052acde591 (diff)
Merge upstream Djihads80/Eglantine nx2 into fix/nsp-switch2-detection
Diffstat (limited to 'src/tests/core/nup_writer.cpp')
-rw-r--r--src/tests/core/nup_writer.cpp2
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"));