From c42a5ef9f5c7f036af36e9684ab214bbac572365 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 1 Aug 2024 00:18:10 -0500 Subject: [PATCH] Fix possible loss of data warning in PhilipsHueEntertainmentController.cpp --- .../PhilipsHueController/PhilipsHueEntertainmentController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp b/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp index 24d10cf4..c39e7082 100644 --- a/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp +++ b/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp @@ -18,7 +18,7 @@ PhilipsHueEntertainmentController::PhilipsHueEntertainmentController(hueplusplus | Fill in location string with bridge IP | \*-------------------------------------------------*/ location = "IP: " + bridge.getBridgeIP(); - num_leds = group.getLightIds().size(); + num_leds = (unsigned int)group.getLightIds().size(); connected = false; }