Fix signed vs. unsigned math on ARM
commite4478df9389894b6498ffe252310cdecd1e58904
authorVicente Bergas <vicencb@gmail.com>
Sat, 3 Feb 2018 18:02:38 +0000 (3 19:02 +0100)
committerJan Kundrát <jkt@kde.org>
Sat, 3 Feb 2018 19:16:03 +0000 (3 21:16 +0200)
tree1ec04c9af1170b9ab0c856e473a3c524b101b92a
parentbea4a1d5af8cc5dd77e4524a171dba235231d6c6
Fix signed vs. unsigned math on ARM

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 <jkt@kde.org>
src/Gui/Spinner.h