diff --git a/Controllers/RedSquareKeyroxController/RedSquareKeyroxTKLClassicController/RGBController_RedSquareKeyroxTKLClassic.cpp b/Controllers/RedSquareKeyroxController/RedSquareKeyroxTKLClassicController/RGBController_RedSquareKeyroxTKLClassic.cpp index b1db8d575..9c3dd9f7a 100644 --- a/Controllers/RedSquareKeyroxController/RedSquareKeyroxTKLClassicController/RGBController_RedSquareKeyroxTKLClassic.cpp +++ b/Controllers/RedSquareKeyroxController/RedSquareKeyroxTKLClassicController/RGBController_RedSquareKeyroxTKLClassic.cpp @@ -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); }