Corrected type for num_images in main, was singed integer

This commit is contained in:
Eharve14 2022-01-15 20:54:25 -05:00
parent 998366be07
commit 76d50ceeb9
2 changed files with 2 additions and 2 deletions

View File

@ -1341,7 +1341,7 @@ int main(int argc, char **argv)
{
opj_decompress_parameters parameters; /* decompression parameters */
OPJ_INT32 num_images, imageno;
unsigned int num_images, imageno;
img_fol_t img_fol;
dircnt_t *dirptr = NULL;
int failed = 0;

View File

@ -492,7 +492,7 @@ int main(int argc, char *argv[])
opj_codestream_info_v2_t* cstr_info = NULL;
opj_codestream_index_t* cstr_index = NULL;
OPJ_INT32 num_images, imageno;
unsigned int num_images, imageno;
img_fol_t img_fol;
dircnt_t *dirptr = NULL;