kern: N made this an u32 for some reason

This commit is contained in:
Alula authored and NaGa committed 2026-04-04 21:30:19 +02:00
1 parent 7ff6ac0399
commit b6b374a98b
1 file changed
+1 -1
@@ -285,7 +285,7 @@ namespace ams::kern {
MESOSPHERE_INIT_ABORT_UNLESS(expected_size != 0);
/* Ensure that the size we need to reserve is as we expect it to be. */
const size_t total_size = util::AlignUp(g_initial_process_binary_header.size, PageSize);
const u32 total_size = util::AlignUp(g_initial_process_binary_header.size, PageSize);
MESOSPHERE_ABORT_UNLESS(total_size == expected_size);
MESOSPHERE_ABORT_UNLESS(total_size <= InitialProcessBinarySizeMax);