LZ4 returns a signed int

This commit is contained in:
plutoo 2017-09-09 04:51:42 +02:00
parent a26953776e
commit fa9aa214ea

View File

@ -110,7 +110,7 @@ int main(int argc, char* argv[]) {
size_t file_off = sizeof(NsoHeader); size_t file_off = sizeof(NsoHeader);
uint8_t* comp_buf[3]; uint8_t* comp_buf[3];
size_t comp_sz[3]; int comp_sz[3];
for (i=0; i<3; i++, phdr++) { for (i=0; i<3; i++, phdr++) {
nso_hdr.Segments[i].FileOff = file_off; nso_hdr.Segments[i].FileOff = file_off;