mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-23 08:58:58 -04:00
Fix possible loss of data warning in RGBController_RedSquareKeyroxTKLClassic.cpp
This commit is contained in:
1 parent
15f7ba8b12
commit
83150696bf
1 file changed
+2
-2
+2
-2
@@ -234,8 +234,8 @@ void RGBController_RedSquareKeyroxTKLClassic::SetupZones()
|
||||
{
|
||||
led new_led;
|
||||
|
||||
new_led.name = new_kb.GetKeyNameAt(led_idx);
|
||||
new_led.value = new_kb.GetKeyValueAt(led_idx);
|
||||
new_led.name = new_kb.GetKeyNameAt((unsigned int)led_idx);
|
||||
new_led.value = new_kb.GetKeyValueAt((unsigned int)led_idx);
|
||||
leds.push_back(new_led);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user