From: Antonin Descampe Date: Tue, 25 Mar 2014 13:29:11 +0000 (+0000) Subject: [trunk] fixed warning due induced by r2791 X-Git-Tag: version.2.0.1~4^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=666f71b2a171f0d5f94dc49ae60f439b0f517c6b;p=openjpeg [trunk] fixed warning due induced by r2791 --- diff --git a/src/bin/jp2/opj_compress.c b/src/bin/jp2/opj_compress.c index 95662be9..3cd63e2b 100644 --- a/src/bin/jp2/opj_compress.c +++ b/src/bin/jp2/opj_compress.c @@ -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;