FIxed comparison of unsigned expression

Fix of [Issue 9](https://invent.kde.org/frameworks/kimageformats/-/issues/9)

Same of MR !253 to solve the `Fix of [Issue 9](https://invent.kde.org/frameworks/kimageformats/-/issues/9)` when rebasing.
This commit is contained in:
Mirco Miranda 2024-09-15 15:00:11 +00:00 committed by Christoph Cullmann
parent 36bfee8ae3
commit f7c8eaa140

View File

@ -136,7 +136,7 @@ public:
}
if (reader->supportsOption(QImageIOHandler::ImageTransformation)) {
m_transformations = reader->transformation();
if (m_transformations < 0 || m_transformations > 7)
if (int(m_transformations) < 0 || int(m_transformations) > 7)
ok = false;
}
return ok;