Fix possible loss of data warning in PhilipsHueEntertainmentController.cpp

This commit is contained in:
Adam Honse 2024-08-01 00:18:10 -05:00
parent ebf5dbedb6
commit c42a5ef9f5

View file

@ -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;
}