diff options
| author | 2020-06-30 11:44:55 -0400 | |
|---|---|---|
| committer | 2020-06-30 11:44:55 -0400 | |
| commit | dfdf87d844de6226fd043bb840de8525d8fbc0d1 (patch) | |
| tree | 88e33b749d4262b13f04d1836e4f8bf43f0bd70b /src | |
| parent | left const auto&, comment punctuation. (diff) | |
| download | yuzu-dfdf87d844de6226fd043bb840de8525d8fbc0d1.tar.gz yuzu-dfdf87d844de6226fd043bb840de8525d8fbc0d1.tar.xz yuzu-dfdf87d844de6226fd043bb840de8525d8fbc0d1.zip | |
fix implicit conversion of size_t type to int
Diffstat (limited to '')
| -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 774246bdf..b509b3e46 100644 --- a/src/input_common/gcadapter/gc_adapter.cpp +++ b/src/input_common/gcadapter/gc_adapter.cpp | |||
| @@ -191,7 +191,7 @@ void Adapter::Setup() { | |||
| 191 | 191 | ||
| 192 | libusb_device** devs; // pointer to list of connected usb devices | 192 | libusb_device** devs; // pointer to list of connected usb devices |
| 193 | 193 | ||
| 194 | const int cnt = libusb_get_device_list(libusb_ctx, &devs); // get the list of devices | 194 | const std::size_t cnt = libusb_get_device_list(libusb_ctx, &devs); // get the list of devices |
| 195 | 195 | ||
| 196 | for (int i = 0; i < cnt; i++) { | 196 | for (int i = 0; i < cnt; i++) { |
| 197 | if (CheckDeviceAccess(devs[i])) { | 197 | if (CheckDeviceAccess(devs[i])) { |