mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Removed annoying signed unsigned warning from 'CustomParameter'
Former-commit-id: a02d9676953f7896972e720ed38576c9de7d86d9
This commit is contained in:
parent
18083f4102
commit
4fb3c5091d
@ -40,7 +40,7 @@ namespace vlofgren {
|
||||
}
|
||||
|
||||
// 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;
|
||||
std::vector<QColor> colors;
|
||||
|
Loading…
Reference in New Issue
Block a user