diff options
| author | Antonin Descampe <antonin@gmail.com> | 2014-03-26 15:17:17 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2014-03-26 15:17:17 +0000 |
| commit | a54d757a3ea5f7d5ce9efae355b67a8ec339e7bf (patch) | |
| tree | c1bb8a8b47fad6950f088f8a4f5d7138ac349143 /src/bin/jp2/convert.c | |
| parent | b5eb374fb95b072ea12f02b137bc6ea81f933046 (diff) | |
[trunk] fixed warnings triggered on linux related to r2802
Diffstat (limited to 'src/bin/jp2/convert.c')
| -rw-r--r-- | src/bin/jp2/convert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/jp2/convert.c b/src/bin/jp2/convert.c index 0033b523..a59c3c76 100644 --- a/src/bin/jp2/convert.c +++ b/src/bin/jp2/convert.c @@ -2989,8 +2989,8 @@ static opj_image_t* rawtoimage_common(const char *filename, opj_cparameters_t *p cmptparm[i].prec = (OPJ_UINT32)raw_cp->rawBitDepth; cmptparm[i].bpp = (OPJ_UINT32)raw_cp->rawBitDepth; cmptparm[i].sgnd = (OPJ_UINT32)raw_cp->rawSigned; - cmptparm[i].dx = (OPJ_UINT32)subsampling_dx * raw_cp->rawComps[i].dx; - cmptparm[i].dy = (OPJ_UINT32)subsampling_dy * raw_cp->rawComps[i].dy; + cmptparm[i].dx = (OPJ_UINT32)(subsampling_dx * raw_cp->rawComps[i].dx); + cmptparm[i].dy = (OPJ_UINT32)(subsampling_dy * raw_cp->rawComps[i].dy); cmptparm[i].w = (OPJ_UINT32)w; cmptparm[i].h = (OPJ_UINT32)h; } |
