mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Fix comparison of integer expressions of different signedness warnings
This commit is contained in:
committed by
Jakub Melka
parent
bbecbf6311
commit
577866aa2f
@ -581,7 +581,7 @@ QColor PDFColorScale::map(PDFReal value) const
|
||||
fractionValue = 1.0;
|
||||
}
|
||||
|
||||
Q_ASSERT(index + 1 < m_colorScales.size());
|
||||
Q_ASSERT(index + 1 < static_cast<int>(m_colorScales.size()));
|
||||
|
||||
const QColor& leftValue = m_colorScales[index];
|
||||
const QColor& rightValue = m_colorScales[index + 1];
|
||||
|
Reference in New Issue
Block a user