gc_poller: Silence sign conversion warnings

master
Lioncash 2020-07-12 15:40:22 +07:00
parent 32b6fc4062
commit a8ba6dc3c9
1 changed files with 1 additions and 1 deletions

@ -249,7 +249,7 @@ Common::ParamPackage GCAnalogFactory::GetNextInput() {
const u8 axis = static_cast<u8>(pad.axis);
if (analog_x_axis == -1) {
analog_x_axis = axis;
controller_number = port;
controller_number = static_cast<int>(port);
} else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) {
analog_y_axis = axis;
}