diff --git a/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp b/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp index 57b96d042..e65d88605 100644 --- a/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp +++ b/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp @@ -196,7 +196,7 @@ void RGBController_CorsairV2SW::SetupZones() LOG_DEBUG("[%s] Creating a %s zone: %s with %d LEDs", name.c_str(), ((new_zone.type == ZONE_TYPE_MATRIX) ? "matrix": "linear"), - new_zone.name, new_zone.leds_count); + new_zone.name.c_str(), new_zone.leds_count); new_zone.leds_min = new_zone.leds_count; new_zone.leds_max = new_zone.leds_count; zones.push_back(new_zone);