Remove comparison between signed and unsigned integer expressions warning
This commit is contained in:
parent
982d7cc438
commit
16e904592a
1 changed files with 3 additions and 3 deletions
|
@ -1507,7 +1507,7 @@ public:
|
|||
if (!seat->isDragTouch()) {
|
||||
return false;
|
||||
}
|
||||
if (m_touchId != id) {
|
||||
if (static_cast<quint32>(m_touchId) == id) {
|
||||
return true;
|
||||
}
|
||||
seat->setTimestamp(time);
|
||||
|
@ -1528,7 +1528,7 @@ public:
|
|||
// associated with by implementing a key-value getter in KWayland.
|
||||
m_touchId = id;
|
||||
}
|
||||
if (m_touchId != id) {
|
||||
if (static_cast<quint32>(m_touchId) == id) {
|
||||
return true;
|
||||
}
|
||||
seat->setTimestamp(time);
|
||||
|
@ -1564,7 +1564,7 @@ public:
|
|||
seat->touchUp(kwaylandId);
|
||||
input()->touch()->removeId(id);
|
||||
}
|
||||
if (m_touchId == id) {
|
||||
if (static_cast<quint32>(m_touchId) == id) {
|
||||
m_touchId = -1;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue