scripts: kwboot: fix comparison with out-of-range constant
clang detects that system char signedness will affect program runtime:
scripts/kwboot.c:395:10: warning: result of comparison of constant 255
with expression of type 'char' is always true
[-Wtautological-constant-out-of-range-compare]
                if (*p != 0xff)
                    ~~ ^  ~~~~

Fix this by using uint8_t where appropriate.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ddf4cca commit 1263d74e90c06c4170517ddc3024211e4861df6b
@Ahmad Fatoum Ahmad Fatoum authored on 27 May 2019
Sascha Hauer committed on 28 May 2019
Showing 1 changed file
View
scripts/kwboot.c