Fix signedness comparison warning in RGBController_Lenovo_Gen7_8.cpp

This commit is contained in:
Adam Honse 2024-07-07 18:10:59 -05:00
parent 260044df0c
commit 44aaf3a131

View file

@ -419,7 +419,7 @@ void LenovoRGBController_Gen7_8::ReadDeviceSettings()
vector<led_group> current_settings = controller->getProfileSettings(profile_id);
if(current_settings.size() > 0)
{
for(int i = 0; i < modes.size(); i++)
for(unsigned int i = 0; i < modes.size(); i++)
{
if(modes[i].value == current_settings[0].mode)
{