Fix possible loss of data warning in RGBController_WinbondGamingKeyboard.cpp
This commit is contained in:
parent
0027936b1d
commit
4cdee33ae4
1 changed files with 2 additions and 2 deletions
|
|
@ -762,8 +762,8 @@ void RGBController_WinbondGamingKeyboard::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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue