From f7c8eaa140e1000f57a501d6dfd1d9d1f58a8e1c Mon Sep 17 00:00:00 2001 From: Mirco Miranda Date: Sun, 15 Sep 2024 15:00:11 +0000 Subject: [PATCH] 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. --- autotests/readtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/readtest.cpp b/autotests/readtest.cpp index 07f030a..4caf043 100644 --- a/autotests/readtest.cpp +++ b/autotests/readtest.cpp @@ -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;