Removed annoying signed unsigned warning from 'CustomParameter'

Former-commit-id: a02d9676953f7896972e720ed38576c9de7d86d9
This commit is contained in:
T. van der Zwan 2013-12-15 20:15:34 +00:00
parent 18083f4102
commit 4fb3c5091d

View File

@ -40,7 +40,7 @@ namespace vlofgren {
} }
// check if we can create the color by hex RRGGBB value // check if we can create the color by hex RRGGBB value
if (s.length() >= 6u && (s.length()%6) == 0u && std::count_if(s.begin(), s.end(), isxdigit) == s.length()) if (s.length() >= 6u && (s.length()%6u) == 0u && std::count_if(s.begin(), s.end(), isxdigit) == int(s.length()))
{ {
bool ok = true; bool ok = true;
std::vector<QColor> colors; std::vector<QColor> colors;