From e3a30ccc7c8a556224cb5608c9442b841f02117b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 18 Jul 2018 20:21:25 -0400 Subject: loader/nso: Resolve sign mismatch warnings --- src/core/loader/nso.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/loader') diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 2beb85fbf..4ae9d55dd 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -113,7 +113,7 @@ VAddr AppLoader_NSO::LoadModule(FileSys::VirtualFile file, VAddr load_base) { // Build program image Kernel::SharedPtr codeset = Kernel::CodeSet::Create(""); std::vector program_image; - for (int i = 0; i < nso_header.segments.size(); ++i) { + for (std::size_t i = 0; i < nso_header.segments.size(); ++i) { const std::vector compressed_data = file->ReadBytes(nso_header.segments_compressed_size[i], nso_header.segments[i].offset); std::vector data = DecompressSegment(compressed_data, nso_header.segments[i]); -- cgit v1.2.3