diff --git a/src/bin/jp2/opj_compress.c b/src/bin/jp2/opj_compress.c index 5ed5228f..ea941510 100644 --- a/src/bin/jp2/opj_compress.c +++ b/src/bin/jp2/opj_compress.c @@ -937,7 +937,7 @@ static int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *param float *lCurrentDoublePtr; float *lSpace; int *l_int_ptr; - int lNbComp = 0, lTotalComp, lMctComp, i, lStrLen, lStrFread; + int lNbComp = 0, lTotalComp, lMctComp, i; long int lStrLen, lStrFread; /* Open file */ FILE * lFile = fopen(lFilename,"r");