[trunk] Remove another warning. ftell returns long int
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 4 Mar 2014 09:32:19 +0000 (09:32 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 4 Mar 2014 09:32:19 +0000 (09:32 +0000)
Update issue 256

src/bin/jp2/opj_compress.c

index 5ed5228f1eff899e578169db3d16b38833803493..ea9415104f19c475bfe87faeabc352ce6187a47f 100644 (file)
@@ -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");