From e4478df9389894b6498ffe252310cdecd1e58904 Mon Sep 17 00:00:00 2001 From: Vicente Bergas Date: Sat, 3 Feb 2018 19:02:38 +0100 Subject: [PATCH] Fix signed vs. unsigned math on ARM MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit On ARM systems, `char` is not signed, but unsigned, and therefore code like qMin(-11, ...) doesn't really do a correct thing. Change-Id: I1e03570c8a809cd6d8c699b3bc138a6bd05ce53c Signed-off-by: Jan Kundrát --- src/Gui/Spinner.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/Spinner.h b/src/Gui/Spinner.h index b8b06b85..2f60ce45 100644 --- a/src/Gui/Spinner.h +++ b/src/Gui/Spinner.h @@ -82,8 +82,8 @@ private slots: void updateAncestors(); void updateGeometry(); private: - uchar m_step; - char m_fadeStep; + int m_step; + int m_fadeStep; int m_timer; QTimer *m_startTimer; QList m_ancestors; -- 2.11.4.GIT