[trunk] Remove a simple warning about int -> float conversion

This commit is contained in:
Mathieu Malaterre 2014-03-03 16:02:36 +00:00
parent 765c4ab4f4
commit 7afad19c77
1 changed files with 1 additions and 1 deletions

View File

@ -1331,7 +1331,7 @@ OPJ_BOOL opj_t1_decode_cblks( opj_t1_t* t1,
for (j = 0; j < cblk_h; ++j) {
OPJ_FLOAT32* restrict tiledp2 = tiledp;
for (i = 0; i < cblk_w; ++i) {
OPJ_FLOAT32 tmp = *datap * band->stepsize;
OPJ_FLOAT32 tmp = (OPJ_FLOAT32)*datap * band->stepsize;
*tiledp2 = tmp;
datap++;
tiledp2++;