ams: fix compilation with gcc 13

This commit is contained in:
Michael Scire authored and SciresM committed 2023-05-07 03:36:46 -07:00
1 parent ed9e60acb9
commit 1f5ec68a5c
8 files changed
+8 -28

No files matched your search

@@ -27,7 +27,7 @@ namespace ams::kern::svc {
R_UNLESS(size < ams::kern::MainMemorySizeMax, svc::ResultInvalidSize());
/* Set the heap size. */
KProcessAddress address;
KProcessAddress address = Null<KProcessAddress>;
R_TRY(GetCurrentProcess().GetPageTable().SetHeapSize(std::addressof(address), size));
/* Set the output. */