Skip to content
Snippets Groups Projects
Commit dfdf87d8 authored by Ameer's avatar Ameer
Browse files

fix implicit conversion of size_t type to int

parent bd697bef
No related branches found
No related tags found
No related merge requests found
......@@ -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])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment