mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-12 21:28:30 -04:00
Fix warnings in RGBController_Nanoleaf.cpp
This commit is contained in:
1 parent
102dccee72
commit
4ef2917cf4
1 file changed
+2
-2
@@ -80,7 +80,7 @@ RGBController_Nanoleaf::RGBController_Nanoleaf(std::string a_address, int a_port
|
||||
\*---------------------------------------------------------*/
|
||||
if(controller.GetSelectedEffect() == effect.name)
|
||||
{
|
||||
active_mode = modes.size() - 1;
|
||||
active_mode = (int)modes.size() - 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ void RGBController_Nanoleaf::SetupZones()
|
||||
zone led_zone;
|
||||
led_zone.name = "Nanoleaf Layout";
|
||||
led_zone.type = ZONE_TYPE_LINEAR;
|
||||
led_zone.leds_count = controller.GetPanelIds().size();
|
||||
led_zone.leds_count = (unsigned int)controller.GetPanelIds().size();
|
||||
led_zone.leds_min = led_zone.leds_count;
|
||||
led_zone.leds_max = led_zone.leds_count;
|
||||
led_zone.matrix_map = NULL;
|
||||
|
||||
Reference in new issue
Block a user