diff options
Diffstat (limited to 'src')
| -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 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:: | |||
| 165 | patch->PatchText(program_image, code); | 165 | patch->PatchText(program_image, code); |
| 166 | 166 | ||
| 167 | // Add patch section size to the module size. | 167 | // Add patch section size to the module size. |
| 168 | image_size += patch->GetSectionSize(); | 168 | image_size += static_cast<u32>(patch->GetSectionSize()); |
| 169 | } else if (patch) { | 169 | } else if (patch) { |
| 170 | // Relocate code patch and copy to the program_image. | 170 | // Relocate code patch and copy to the program_image. |
| 171 | patch->RelocateAndCopy(load_base, code, program_image, &process.GetPostHandlers()); | 171 | patch->RelocateAndCopy(load_base, code, program_image, &process.GetPostHandlers()); |