Task #57096 - fixed.err
back to task #57096download
Error: COMPILER_WARNING (CWE-195):
LibRaw-0.21.4/src/decoders/load_mfbacks.cpp: scope_hint: In member function 'int LibRaw::phase_one_correct()'
LibRaw-0.21.4/src/decoders/load_mfbacks.cpp:524:66: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'unsigned int'
# 524 | if (j == 0 || j == head[1] || k < 1 || k >= w0+w1)
# | ~~^~~~~~~~
# 522| if (num < xval[0][k = head[1] * i + j])
# 523| break;
# 524|-> if (j == 0 || j == head[1] || k < 1 || k >= w0+w1)
# 525| frac = 0;
# 526| else
Error: COMPILER_WARNING (CWE-195):
LibRaw-0.21.4/src/decoders/load_mfbacks.cpp:531:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'unsigned int'
# 531 | if (k < w0 + w1)
# | ~~^~~~~~~~~
# 529| frac = xdiv ? (xval[0][k] - num) / (xval[0][k] - xval[0][k - 1]) : 0;
# 530| }
# 531|-> if (k < w0 + w1)
# 532| mult[i - cip] = yval[0][k > 0 ? k - 1 : 0] * frac + yval[0][k] * (1 - frac);
# 533| else
Error: COMPILER_WARNING (CWE-195):
LibRaw-0.21.4/src/metadata/tiff.cpp: scope_hint: In member function 'int LibRaw::parse_tiff_ifd(int)'
LibRaw-0.21.4/src/metadata/tiff.cpp:1060:48: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'unsigned int'
# 1060 | if (fj > libraw_internal_data.unpacker_data.lenRAFData - 3)
# | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1058| for (fj = fi; fj < (fi + 15); fj += 3) // looking for the end of the WB table
# 1059| {
# 1060|-> if (fj > libraw_internal_data.unpacker_data.lenRAFData - 3)
# 1061| break;
# 1062| if (rafdata[fj] != rafdata[fi])