Fix comparison between signed and unsigned integer expressions warning
This commit is contained in:
parent
ee20101142
commit
5014e2874b
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ uint DesktopChain::next(uint indexDesktop) const
|
|||
|
||||
void DesktopChain::resize(uint previousSize, uint newSize)
|
||||
{
|
||||
Q_ASSERT(previousSize == m_chain.size());
|
||||
Q_ASSERT(int(previousSize) == m_chain.size());
|
||||
m_chain.resize(newSize);
|
||||
|
||||
if (newSize >= previousSize) {
|
||||
|
|
Loading…
Reference in a new issue