From fa9aa214ea354769e3ee4720c8304e7eb5835119 Mon Sep 17 00:00:00 2001 From: plutoo Date: Sat, 9 Sep 2017 04:51:42 +0200 Subject: [PATCH] LZ4 returns a signed int --- tools/elf2nso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/elf2nso.c b/tools/elf2nso.c index 2722fb78..70fcf46b 100644 --- a/tools/elf2nso.c +++ b/tools/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;