diff options
| author | 2020-07-25 03:37:22 -0400 | |
|---|---|---|
| committer | 2020-07-25 03:37:22 -0400 | |
| commit | 04699c366b4a1c086b257b8f02780936b1bf0b9f (patch) | |
| tree | 5c64c2d55166fb350c9e560d6b056907fd934ddb /src | |
| parent | gc_poller: Resolve -Wredundant-move warning (diff) | |
| download | yuzu-04699c366b4a1c086b257b8f02780936b1bf0b9f.tar.gz yuzu-04699c366b4a1c086b257b8f02780936b1bf0b9f.tar.xz yuzu-04699c366b4a1c086b257b8f02780936b1bf0b9f.zip | |
gc_poller: Resolve -Wsign-compare warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/input_common/gcadapter/gc_poller.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp index 65454cb42..f45983f3f 100644 --- a/src/input_common/gcadapter/gc_poller.cpp +++ b/src/input_common/gcadapter/gc_poller.cpp | |||
| @@ -263,7 +263,8 @@ Common::ParamPackage GCAnalogFactory::GetNextInput() { | |||
| 263 | if (analog_x_axis == -1) { | 263 | if (analog_x_axis == -1) { |
| 264 | analog_x_axis = axis; | 264 | analog_x_axis = axis; |
| 265 | controller_number = static_cast<int>(port); | 265 | controller_number = static_cast<int>(port); |
| 266 | } else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) { | 266 | } else if (analog_y_axis == -1 && analog_x_axis != axis && |
| 267 | controller_number == static_cast<int>(port)) { | ||
| 267 | analog_y_axis = axis; | 268 | analog_y_axis = axis; |
| 268 | } | 269 | } |
| 269 | } | 270 | } |