mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
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:
parent
36bfee8ae3
commit
f7c8eaa140
@ -136,7 +136,7 @@ public:
|
|||||||
}
|
}
|
||||||
if (reader->supportsOption(QImageIOHandler::ImageTransformation)) {
|
if (reader->supportsOption(QImageIOHandler::ImageTransformation)) {
|
||||||
m_transformations = reader->transformation();
|
m_transformations = reader->transformation();
|
||||||
if (m_transformations < 0 || m_transformations > 7)
|
if (int(m_transformations) < 0 || int(m_transformations) > 7)
|
||||||
ok = false;
|
ok = false;
|
||||||
}
|
}
|
||||||
return ok;
|
return ok;
|
||||||
|
Loading…
Reference in New Issue
Block a user