summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2014-03-25 13:29:11 +0000
committerAntonin Descampe <antonin@gmail.com>2014-03-25 13:29:11 +0000
commit666f71b2a171f0d5f94dc49ae60f439b0f517c6b (patch)
tree04f6d346599651225dcd54b7b2109afd3d9bbeed /src
parent2b7d5b18f390315d08c75f59cc1383f8d4e53251 (diff)
[trunk] fixed warning due induced by r2791
Diffstat (limited to 'src')
-rw-r--r--src/bin/jp2/opj_compress.c2
1 files changed, 1 insertions, 1 deletions
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;