Fix a compile error on Android in debug builds
Android uses -Werror,-Wsign-compare. Change-Id: I4e861ebd6ea00914223358629f8e898c2aa67cd0 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>bb10
parent
23189a9068
commit
c2fde55976
|
|
@ -69,12 +69,12 @@ public:
|
|||
QColorTransferTable(uint32_t size, const QList<uint8_t> &table) noexcept
|
||||
: m_tableSize(size), m_table8(table)
|
||||
{
|
||||
Q_ASSERT(size <= table.count());
|
||||
Q_ASSERT(qsizetype(size) <= table.count());
|
||||
}
|
||||
QColorTransferTable(uint32_t size, const QList<uint16_t> &table) noexcept
|
||||
: m_tableSize(size), m_table16(table)
|
||||
{
|
||||
Q_ASSERT(size <= table.count());
|
||||
Q_ASSERT(qsizetype(size) <= table.count());
|
||||
}
|
||||
|
||||
bool isEmpty() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue