You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/koen/src/stm32duino-raspberrypi/STM32Tools/tools/src/stlink/src/usb.c: In function ‘_stlink_usb_version’:
/home/koen/src/stm32duino-raspberrypi/STM32Tools/tools/src/stlink/src/usb.c:192:18: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
if (size != rep_len) {
^~
cc1: all warnings being treated as errors
Propose the following patch, to make sure that rep_len and size have the same type (usb.c).
Compilation error on raspbian (arm 32-bit):
/home/koen/src/stm32duino-raspberrypi/STM32Tools/tools/src/stlink/src/usb.c: In function ‘_stlink_usb_version’:
/home/koen/src/stm32duino-raspberrypi/STM32Tools/tools/src/stlink/src/usb.c:192:18: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
if (size != rep_len) {
^~
cc1: all warnings being treated as errors
Propose the following patch, to make sure that rep_len and size have the same type (usb.c).
The text was updated successfully, but these errors were encountered: