summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-11-27 01:34:00 +0100
committerLiam <byteslice@airmail.cc>2023-11-27 01:34:07 +0100
commit7482e03c770332dca12a08467a64192c8179a613 (patch)
tree3103449498d3912ab30b9f1ca680c9e794b22462 /src/core
parentoaknut: Address warnings (diff)
downloadyuzu-7482e03c770332dca12a08467a64192c8179a613.tar
yuzu-7482e03c770332dca12a08467a64192c8179a613.tar.gz
yuzu-7482e03c770332dca12a08467a64192c8179a613.tar.bz2
yuzu-7482e03c770332dca12a08467a64192c8179a613.tar.lz
yuzu-7482e03c770332dca12a08467a64192c8179a613.tar.xz
yuzu-7482e03c770332dca12a08467a64192c8179a613.tar.zst
yuzu-7482e03c770332dca12a08467a64192c8179a613.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/loader/nso.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index e310c8f0f..ade8f85f8 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -165,7 +165,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::KProcess& process, Core::
patch->PatchText(program_image, code);
// Add patch section size to the module size.
- image_size += patch->GetSectionSize();
+ image_size += static_cast<u32>(patch->GetSectionSize());
} else if (patch) {
// Relocate code patch and copy to the program_image.
patch->RelocateAndCopy(load_base, code, program_image, &process.GetPostHandlers());