diff --git a/qt/OpenRGBDialog2/OpenRGBDialog2.cpp b/qt/OpenRGBDialog2/OpenRGBDialog2.cpp index c0883a9a..c4fd2301 100644 --- a/qt/OpenRGBDialog2/OpenRGBDialog2.cpp +++ b/qt/OpenRGBDialog2/OpenRGBDialog2.cpp @@ -1321,7 +1321,7 @@ void OpenRGBDialog2::UpdateDevicesList() | Remove all remaining device information tabs, leaving | | other information tabs alone | \*-----------------------------------------------------*/ - for(int tab_idx = controllers.size(); tab_idx < ui->InformationTabBar->count(); tab_idx++) + for(std::size_t tab_idx = controllers.size(); tab_idx < ui->InformationTabBar->count(); tab_idx++) { std::string type_str = ui->InformationTabBar->widget(base_tab)->metaObject()->className(); if(type_str == "Ui::OpenRGBDeviceInfoPage")