diff options
| author | Liam <byteslice@airmail.cc> | 2023-11-26 19:34:00 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-11-26 19:34:07 -0500 |
| commit | d7db22185ab3241b628a128f01019caf5789c659 (patch) | |
| tree | 3103449498d3912ab30b9f1ca680c9e794b22462 /src/core/loader/nso.cpp | |
| parent | 181a7a027f6637aa00bed6ca6bf02ab4c2dfe012 (diff) | |
loader: fix gcc compile
Diffstat (limited to 'src/core/loader/nso.cpp')
| -rw-r--r-- | src/core/loader/nso.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index e310c8f0fa..ade8f85f89 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()); |
