summaryrefslogtreecommitdiff
path: root/plugins/autotest/testtreeitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/autotest/testtreeitem.cpp')
-rw-r--r--plugins/autotest/testtreeitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/autotest/testtreeitem.cpp b/plugins/autotest/testtreeitem.cpp
index 8e36d95577..4dc78f3aa1 100644
--- a/plugins/autotest/testtreeitem.cpp
+++ b/plugins/autotest/testtreeitem.cpp
@@ -73,7 +73,7 @@ static QIcon testTreeIcon(TestTreeItem::Type type)
QIcon(QLatin1String(":/images/func.png")),
QIcon(QLatin1String(":/images/data.png"))
};
- if (type >= sizeof(icons))
+ if (static_cast<unsigned long>(type) >= sizeof(icons))
return icons[2];
return icons[type];
}