Skip to content

Commit 44aaf3a

Browse files
Fix signedness comparison warning in RGBController_Lenovo_Gen7_8.cpp
1 parent 260044d commit 44aaf3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controllers/LenovoControllers/LenovoUSBController_Gen7_8/RGBController_Lenovo_Gen7_8.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ void LenovoRGBController_Gen7_8::ReadDeviceSettings()
419419
vector<led_group> current_settings = controller->getProfileSettings(profile_id);
420420
if(current_settings.size() > 0)
421421
{
422-
for(int i = 0; i < modes.size(); i++)
422+
for(unsigned int i = 0; i < modes.size(); i++)
423423
{
424424
if(modes[i].value == current_settings[0].mode)
425425
{

0 commit comments

Comments
 (0)