kopia lustrzana https://github.com/stlink-org/stlink
stlink-lib/usb.c: fix -Wshorten-64-to-32 error
rodzic
e4931097f8
commit
ec4c7fad1f
|
@ -1117,7 +1117,7 @@ uint32_t stlink_serial(struct libusb_device_handle *handle, struct libusb_device
|
|||
return 0;
|
||||
}
|
||||
|
||||
return strlen(serial);
|
||||
return (uint32_t)strlen(serial);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue