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;