diff options
| author | 2020-07-12 15:40:22 -0400 | |
|---|---|---|
| committer | 2020-07-12 15:40:22 -0400 | |
| commit | a8ba6dc3c9f876835d706d90b27249e2984d526e (patch) | |
| tree | f3666e59257e643af2ef7d5b0d4df601409a69a6 /src/input_common | |
| parent | gc_adapter: Remove deprecated usage of = in lambda captures (diff) | |
| download | yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar.gz yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar.xz yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.zip | |
gc_poller: Silence sign conversion warnings
Diffstat (limited to 'src/input_common')
| -rw-r--r-- | src/input_common/gcadapter/gc_poller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp index 385ce8430..ead1a1b0e 100644 --- a/src/input_common/gcadapter/gc_poller.cpp +++ b/src/input_common/gcadapter/gc_poller.cpp | |||
| @@ -249,7 +249,7 @@ Common::ParamPackage GCAnalogFactory::GetNextInput() { | |||
| 249 | const u8 axis = static_cast<u8>(pad.axis); | 249 | const u8 axis = static_cast<u8>(pad.axis); |
| 250 | if (analog_x_axis == -1) { | 250 | if (analog_x_axis == -1) { |
| 251 | analog_x_axis = axis; | 251 | analog_x_axis = axis; |
| 252 | controller_number = port; | 252 | controller_number = static_cast<int>(port); |
| 253 | } else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) { | 253 | } else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) { |
| 254 | analog_y_axis = axis; | 254 | analog_y_axis = axis; |
| 255 | } | 255 | } |