summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2014-03-07 10:21:51 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2014-03-07 10:21:51 +0000
commite71431ec78249b9d089a340befc18b151326c81f (patch)
tree2f3b900ae2ae1bc93143bf7d3b3852d595345a5a /src/lib
parent7b335eb635dc281b968acdc845028e449a4baca5 (diff)
[trunk] Fix simple warning about sign conversion
Update issue 256
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjp2/invert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/invert.c b/src/lib/openjp2/invert.c
index 92de0a85..bb6672d4 100644
--- a/src/lib/openjp2/invert.c
+++ b/src/lib/openjp2/invert.c
@@ -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++));
}