Fix compilation warning about int/uintptr casts

This commit is contained in:
baldurk
2017-02-10 01:52:26 +00:00
parent 5588686fd7
commit 59b28e6843
+2 -2
View File
@@ -438,10 +438,10 @@ private:
else
{
// modification
if(row > modRowMask)
if(quintptr(row) > modRowMask)
qCritical() << "Packing failure - more than 255 modifications in one event";
return ((parent.internalId() & eventRowMask) << modRowBits) | (row & modRowMask);
return ((parent.internalId() & eventRowMask) << modRowBits) | (quintptr(row) & modRowMask);
}
}