mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-15 11:43:29 +01:00
fix implicit conversion of size_t type to int
This commit is contained in:
1 parent
21ae845d69
commit
ed72085227
1 file changed
+1
-1
@@ -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])) {
|
||||
|
||||
Reference in new issue
Block a user