diff --git a/cli.cpp b/cli.cpp index 16f1a0a8..2eee8efa 100644 --- a/cli.cpp +++ b/cli.cpp @@ -1196,7 +1196,7 @@ void ApplyOptions(DeviceOptions& options, std::vector& rgb_cont if(options.zone < 0) { start_from = &device->colors[0]; - led_count = device->leds.size(); + led_count = (unsigned int)device->leds.size(); } else {