diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-10-01 17:46:30 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-12-14 16:00:44 +0100 |
commit | 65b98121dabd708b5380473ede33a4ed61a0ae30 (patch) | |
tree | 600f2985034ee2bfecc47f652eaea6c6adb3e91d /cpukit/include/libfdt.h | |
parent | libfdt: fdt_get_string(): Fix sequential write comparison warnings (diff) | |
download | rtems-65b98121dabd708b5380473ede33a4ed61a0ae30.tar.bz2 |
libfdt: fdt_strerror(): Fix comparison warning
With -Wsign-compare, compilers warn about a mismatching signedness
in a comparison in fdt_strerror().
Force FDT_ERRTABSIZE to be signed (it's surely small enough to fit), so
that the types match. Also move the minus sign to errval, as this is
actually what we use in the next line.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Message-Id: <20201001164630.4980-7-andre.przywara@arm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions