diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-09-21 17:52:56 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-09-24 11:07:27 +1000 |
commit | faa76fc10bc5819899d6bc78535d212acaccbd6a (patch) | |
tree | a24c91724ae1789a70fcecd57faf983e6e379c76 /GPL | |
parent | 54dca098531699dc8beeaf97e3525b9b5eb23b0a (diff) | |
download | dtc-faa76fc10bc5819899d6bc78535d212acaccbd6a.zip dtc-faa76fc10bc5819899d6bc78535d212acaccbd6a.tar.gz dtc-faa76fc10bc5819899d6bc78535d212acaccbd6a.tar.bz2 |
libfdt: fdt_splice_(): Fix comparison warning
With -Wsign-compare, compilers warn about a mismatching signedness
in a comparison in fdt_splice_().
Since we just established that oldlen is not negative, we can safely
cast it to an unsigned type.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Message-Id: <20200921165303.9115-8-andre.przywara@arm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'GPL')
0 files changed, 0 insertions, 0 deletions