mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-07 22:58:06 +00:00
gc_poller: Resolve -Wsign-compare warning
This commit is contained in:
parent
e94ad47152
commit
6efd1a2675
|
|
@ -263,7 +263,8 @@ Common::ParamPackage GCAnalogFactory::GetNextInput() {
|
|||
if (analog_x_axis == -1) {
|
||||
analog_x_axis = axis;
|
||||
controller_number = static_cast<int>(port);
|
||||
} else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) {
|
||||
} else if (analog_y_axis == -1 && analog_x_axis != axis &&
|
||||
controller_number == static_cast<int>(port)) {
|
||||
analog_y_axis = axis;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue