[trunk] Fix simple warning about sign conversion

Update issue 256
This commit is contained in:
Mathieu Malaterre 2014-03-07 10:21:51 +00:00
parent 7b335eb635
commit e71431ec78
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ void opj_lupSolve (OPJ_FLOAT32 * pResult,
lTmpMatrix = lLineMatrix;
u = *(lTmpMatrix++);
lCurrentPtr = lDestPtr--;
for (j = k + 1; j < nb_compo; ++j) {
for (j = (OPJ_UINT32)(k + 1); j < nb_compo; ++j) {
/* sum += matrix[k][j] * x[j] */
sum += (*(lTmpMatrix++)) * (*(lCurrentPtr++));
}