diff options
| author | Ameer <aj662@drexel.edu> | 2020-06-30 11:44:55 -0400 |
|---|---|---|
| committer | Ameer <aj662@drexel.edu> | 2020-06-30 11:44:55 -0400 |
| commit | ed7208522724413080c405772da86b178bbfc219 (patch) | |
| tree | 88e33b749d4262b13f04d1836e4f8bf43f0bd70b /src/input_common/gcadapter/gc_adapter.cpp | |
| parent | 21ae845d6931a04e8070e818dce7f5827831f3a6 (diff) | |
fix implicit conversion of size_t type to int
Diffstat (limited to 'src/input_common/gcadapter/gc_adapter.cpp')
| -rw-r--r-- | src/input_common/gcadapter/gc_adapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp index 774246bdfb..b509b3e46f 100644 --- a/src/input_common/gcadapter/gc_adapter.cpp +++ b/src/input_common/gcadapter/gc_adapter.cpp @@ -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])) { |
