diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-09-21 17:52:56 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-12-14 16:00:44 +0100 |
commit | 28f7e7635d7f2c32c56ddb87e6da76512a5b520a (patch) | |
tree | 74227aad423a9ee31f9afa7acb06e78ff3e81181 /cpukit/dtc/libfdt/fdt_sw.c | |
parent | libfdt: fdt_get_string(): Fix comparison warnings (diff) | |
download | rtems-28f7e7635d7f2c32c56ddb87e6da76512a5b520a.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 '')
0 files changed, 0 insertions, 0 deletions