From fc2d47a369ed4a55d1d1b0453576ae9fd97e6aea Mon Sep 17 00:00:00 2001 From: Eric Harvey Date: Thu, 13 Jan 2022 02:20:52 -0500 Subject: [PATCH] Fixed typo --- src/bin/jp2/opj_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/jp2/opj_compress.c b/src/bin/jp2/opj_compress.c index efe22d81..d077d539 100644 --- a/src/bin/jp2/opj_compress.c +++ b/src/bin/jp2/opj_compress.c @@ -1957,7 +1957,7 @@ int main(int argc, char **argv) /* Read directory if necessary */ if (img_fol.set_imgdir == 1) { num_images = get_num_images(img_fol.imgdirpath); - if((num_images > SIZE_MAX/(OPJ_PATH_LEN * sizeof(char))){ + if((num_images > SIZE_MAX/(OPJ_PATH_LEN * sizeof(char)))){ fprintf(stdout, "Max images exceeded\n"); ret = 0; goto fin;