diff --git a/elf2nso.c b/elf2nso.c index 2722fb7..70fcf46 100644 --- a/elf2nso.c +++ b/elf2nso.c @@ -110,7 +110,7 @@ int main(int argc, char* argv[]) { size_t file_off = sizeof(NsoHeader); uint8_t* comp_buf[3]; - size_t comp_sz[3]; + int comp_sz[3]; for (i=0; i<3; i++, phdr++) { nso_hdr.Segments[i].FileOff = file_off;