mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 22:06:27 -05:00
loader/nro: Resolve sign mismatch warnings
This commit is contained in:
parent
1831b5ef62
commit
55ab369043
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ bool AppLoader_NRO::LoadNro(FileSys::VirtualFile file, VAddr load_base) {
|
||||||
if (program_image.size() != PageAlignSize(nro_header.file_size))
|
if (program_image.size() != PageAlignSize(nro_header.file_size))
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
for (int i = 0; i < nro_header.segments.size(); ++i) {
|
for (std::size_t i = 0; i < nro_header.segments.size(); ++i) {
|
||||||
codeset->segments[i].addr = nro_header.segments[i].offset;
|
codeset->segments[i].addr = nro_header.segments[i].offset;
|
||||||
codeset->segments[i].offset = nro_header.segments[i].offset;
|
codeset->segments[i].offset = nro_header.segments[i].offset;
|
||||||
codeset->segments[i].size = PageAlignSize(nro_header.segments[i].size);
|
codeset->segments[i].size = PageAlignSize(nro_header.segments[i].size);
|
||||||
|
|
Loading…
Reference in a new issue