mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Fix type warning in RGBController_LenovoUSB.cpp
This commit is contained in:
1 parent
aae377a555
commit
34957180be
1 file changed
+1
-1
@@ -372,7 +372,7 @@ void RGBController_LenovoUSB::UpdateZoneLEDs(int zone)
|
||||
{
|
||||
int index = zones[zone].start_idx+i;
|
||||
|
||||
color_map.push_back({leds[index].value & 0xFF, colors[index]});
|
||||
color_map.push_back({(uint8_t)leds[index].value & 0xFF, colors[index]});
|
||||
}
|
||||
|
||||
color_map.shrink_to_fit();
|
||||
|
||||
Reference in new issue
Block a user