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>
This commit is contained in:
Lars Knoll 2020-10-08 12:20:49 +02:00
parent 23189a9068
commit c2fde55976

View File

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