Task #629 - kf6-bluez-qt-6.3.0-1.fc41/scan-results.err

back to task #629
download
Error: COMPILER_WARNING (CWE-569):
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.c:9: included_from: Included from here.
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.c:53:29: warning[-Wparentheses]: suggest parentheses around arithmetic in operand of ‘|’
#   53 |     AAC_SAMPLING_FREQ_44100 |
#      |                             ^
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’
#  124 |         .frequency2 = f & 0x0f,
#      |                       ^
#   51|       AAC_SAMPLING_FREQ_24000 |
#   52|       AAC_SAMPLING_FREQ_32000 |*/
#   53|->     AAC_SAMPLING_FREQ_44100 |
#   54|       AAC_SAMPLING_FREQ_48000)
#   55|       /*AAC_SAMPLING_FREQ_64000 |

Error: COMPILER_WARNING (CWE-681):
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.c:9: included_from: Included from here.
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.h:93:41: warning[-Woverflow]: unsigned conversion from ‘int’ to ‘unsigned char:4’ changes value from ‘24’ to ‘8’
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.c:53:5: note: in expansion of macro ‘AAC_SAMPLING_FREQ_44100’
#   91|   #define AAC_SAMPLING_FREQ_24000		0x0040
#   92|   #define AAC_SAMPLING_FREQ_32000		0x0020
#   93|-> #define AAC_SAMPLING_FREQ_44100		0x0010
#   94|   #define AAC_SAMPLING_FREQ_48000		0x0008
#   95|   #define AAC_SAMPLING_FREQ_64000		0x0004