Fix comparison of integer expressions of different signedness warnings

This commit is contained in:
Nyall Dawson
2024-01-12 08:11:23 +10:00
committed by Jakub Melka
parent bbecbf6311
commit 577866aa2f
11 changed files with 16 additions and 16 deletions

View File

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