summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL-2.0
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-09-21 17:52:58 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-12-14 16:00:44 +0100
commitbcc2bdebd3785e42afa7ebcaa6ae8152dc709836 (patch)
treeed82bbff2b8ae854d316dac80ee36a83a5ad735c /LICENSE.GPL-2.0
parentlibfdt: fdt_splice_(): Fix comparison warning (diff)
downloadrtems-bcc2bdebd3785e42afa7ebcaa6ae8152dc709836.tar.bz2
libfdt: fdt_resize(): Fix comparison warning
With -Wsign-compare, compilers warn about a mismatching signedness in a comparison in fdt_resize(). A negative buffer size will surely do us no good, so let's rule this case out first. In the actual comparison we then know that a cast to an unsigned type is safe. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Message-Id: <20200921165303.9115-10-andre.przywara@arm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'LICENSE.GPL-2.0')
0 files changed, 0 insertions, 0 deletions