tools: kwboot: Fix comparison of integers with different size
authorMarek Behún <marek.behun@nic.cz>
Fri, 24 Sep 2021 21:06:45 +0000 (23:06 +0200)
committerStefan Roese <sr@denx.de>
Fri, 1 Oct 2021 09:07:13 +0000 (11:07 +0200)
commitd8cc851dd12e5782d491daf46eea7b0b34758fc5
tree1c074230920fdab74d515b200ba621a79730824d
parentc5d666aab3a76a7c307f9261afcf4899ec7c6410
tools: kwboot: Fix comparison of integers with different size

The compiler complains that we are comparing int with size_t when
compiled with -W.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c