Fix comparison between signed and unsigned integer expressions warning

This commit is contained in:
Martin Gräßlin 2014-04-28 17:29:06 +02:00
parent ee20101142
commit 5014e2874b

View file

@ -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) {