mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 06:11:07 -04:00
Fix signedness comparison warning in RGBController_Lenovo_Gen7_8.cpp
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user