Task #57096 - added.err

back to task #57096
download
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:291:36: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'unsigned int'
#  291 |             for (sum = 0, i = j; i < j + 8; i++)
#      |                                  ~~^~~~~~~
#  289|               j = (FC(row - top_margin, col - left_margin) != 1) * 4;
#  290|               unsigned count = 0;
#  291|->             for (sum = 0, i = j; i < j + 8; i++)
#  292|                 sum += p1rawc(row + dir[i][0], col + dir[i][1], count);
#  293|               if (count)

Error: COMPILER_WARNING (CWE-195):
LibRaw-0.21.4/src/decoders/load_mfbacks.cpp:506:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'unsigned int' and 'int'
#  506 |         for (j = 0; j < head[i + 1] * head[i + 3]; j++)
#      |                     ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  504|         get2();
#  505|         for (i = 0; i < 2; i++)
#  506|->         for (j = 0; j < head[i + 1] * head[i + 3]; j++)
#  507|             yval[i][j] = getreal(LIBRAW_EXIFTAG_TYPE_FLOAT);
#  508|         for (i = 0; i < 2; i++)

Error: COMPILER_WARNING (CWE-195):
LibRaw-0.21.4/src/decoders/load_mfbacks.cpp:509:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'unsigned int' and 'int'
#  509 |         for (j = 0; j < head[i + 1] * head[i + 3]; j++)
#      |                     ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  507|             yval[i][j] = getreal(LIBRAW_EXIFTAG_TYPE_FLOAT);
#  508|         for (i = 0; i < 2; i++)
#  509|->         for (j = 0; j < head[i + 1] * head[i + 3]; j++)
#  510|             xval[i][j] = get2();
#  511|         for (row = 0; row < raw_height; row++)

Error: COMPILER_WARNING (CWE-195):
LibRaw-0.21.4/src/decoders/load_mfbacks.cpp:521:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'unsigned int' and 'int'
#  521 |             for (k = j = 0; j < head[1]; j++)
#      |                             ~~^~~~~~~~~
#  519|             for (i = cip; i < cip + 2; i++)
#  520|             {
#  521|->             for (k = j = 0; j < head[1]; j++)
#  522|                 if (num < xval[0][k = head[1] * i + j])
#  523|                   break;

Error: COMPILER_WARNING (CWE-195):
LibRaw-0.21.4/src/decoders/load_mfbacks.cpp:524:41: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'unsigned int' and '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/metadata/tiff.cpp: scope_hint: In member function 'int LibRaw::parse_tiff_ifd(int)'
LibRaw-0.21.4/src/metadata/tiff.cpp:1059:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'unsigned int' and 'int'
# 1059 |                 for (fj = fi; fj < (fi + 15); fj += 3) // looking for the end of the WB table
#      |                               ~~~^~~~~~~~~~~
# 1057|                     fi += 24;
# 1058|                   fi += 96;
# 1059|->                 for (fj = fi; fj < (fi + 15); fj += 3) // looking for the end of the WB table
# 1060|                   {
# 1061|   					if (fj > libraw_internal_data.unpacker_data.lenRAFData - 3)