Fix -Wsign-compare

icc-effect-5.17.5
Vlad Zagorodniy 2019-09-01 00:42:59 +03:00
parent a55ea51092
commit 2f010926d5
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ void VirtualDesktopManager::setRootInfo(NETRootInfo *info)
QString VirtualDesktopManager::name(uint desktop) const
{
if (m_desktops.length() > desktop - 1) {
if (uint(m_desktops.length()) > desktop - 1) {
return m_desktops[desktop - 1]->name();
}