forked from ShuriZma/suyu
1
0
Fork 0

fix implicit conversion of size_t type to int

This commit is contained in:
Ameer 2020-06-30 11:44:55 -04:00
parent bd697bef03
commit dfdf87d844
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ void Adapter::Setup() {
libusb_device** devs; // pointer to list of connected usb devices
const int cnt = libusb_get_device_list(libusb_ctx, &devs); // get the list of devices
const std::size_t cnt = libusb_get_device_list(libusb_ctx, &devs); // get the list of devices
for (int i = 0; i < cnt; i++) {
if (CheckDeviceAccess(devs[i])) {