Fix warnings in RGBController_Luxafor.cpp
This commit is contained in:
parent
b0ba64f178
commit
b213d3f37c
1 changed files with 3 additions and 3 deletions
|
|
@ -183,15 +183,15 @@ void RGBController_Luxafor::DeviceUpdateLEDs()
|
|||
{
|
||||
for(std::size_t zone_idx = 0; zone_idx < zones.size(); zone_idx++)
|
||||
{
|
||||
UpdateZoneLEDs(zone_idx);
|
||||
UpdateZoneLEDs((int)zone_idx);
|
||||
}
|
||||
}
|
||||
|
||||
void RGBController_Luxafor::UpdateZoneLEDs(int zone)
|
||||
{
|
||||
for(std::size_t led_idx = 0; led_idx < zones[zone].leds_count; led_idx++)
|
||||
for(unsigned int led_idx = 0; led_idx < zones[zone].leds_count; led_idx++)
|
||||
{
|
||||
UpdateSingleLED(zones[zone].start_idx + led_idx);
|
||||
UpdateSingleLED((int)(zones[zone].start_idx + led_idx));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue