]> granicus.if.org Git - openjpeg/commitdiff
[trunk] fixed warning due induced by r2791
authorAntonin Descampe <antonin@gmail.com>
Tue, 25 Mar 2014 13:29:11 +0000 (13:29 +0000)
committerAntonin Descampe <antonin@gmail.com>
Tue, 25 Mar 2014 13:29:11 +0000 (13:29 +0000)
src/bin/jp2/opj_compress.c

index 95662be98f73df39887471beb06aa26df7b7cf4f..3cd63e2b9e84649d7895f27e8e6bad095bd0a81c 100644 (file)
@@ -944,7 +944,7 @@ static int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *param
                 fprintf(stderr,"MCT incorrect value!! Current accepted values are 0, 1 or 2.\n");
                 return 1;
             }
-            parameters->tcp_mct = mct_mode;
+            parameters->tcp_mct = (char) mct_mode;
         }
             break;