Fix signed vs. unsigned math on ARM
On ARM systems, char is not signed, but unsigned, and therefore coe
like qMin(-11, ...) doesn't really do a correct thing.
Change-Id: I1e03570c8a809cd6d8c699b3bc138a6bd05ce53c
Signed-off-by: Jan Kundrát <jkt@kde.org>