Fix possible loss of data warning in RGBController_SinowealthKeyboard90.cpp

This commit is contained in:
Adam Honse 2024-08-01 00:22:44 -05:00
parent dab4a95dc5
commit 28f7e09558

View file

@ -72,7 +72,7 @@ RGBController_SinowealthKeyboard90::RGBController_SinowealthKeyboard90(Sinowealt
Off.color_mode = MODE_COLORS_NONE;
modes.push_back(Off);
active_mode = modes.size() - 1;
active_mode = (int)modes.size() - 1;
SetupZones();
}