Fix comparision between signed and unsigned integer warning
This commit is contained in:
parent
c017d3a693
commit
e3aa2cf840
@ -109,7 +109,7 @@ int Calendar::types() const
|
|||||||
|
|
||||||
void Calendar::setTypes(int types)
|
void Calendar::setTypes(int types)
|
||||||
{
|
{
|
||||||
if (m_types == types) {
|
if (m_types == static_cast<Types>(types)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user