summaryrefslogtreecommitdiffstats
path: root/yaml
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-10-01 17:46:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-12-14 16:00:44 +0100
commit140935c56093dfe7d5d35aca9d357df5964ed1d3 (patch)
tree954591da962422439af1028bef2df7b0fd779793 /yaml
parentlibfdt: libfdt_wip: Fix comparison warning (diff)
downloadrtems-140935c56093dfe7d5d35aca9d357df5964ed1d3.tar.bz2
libfdt: fdt_get_string(): Fix sequential write comparison warnings
With -Wsign-compare, compilers warn about a mismatching signedness in comparisons in fdt_get_string(). Introduce a new usigned variable, which holds the actual (negated) stroffset value, so we avoid negating all the other variables and have proper types everywhere. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Message-Id: <20201001164630.4980-6-andre.przywara@arm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'yaml')
0 files changed, 0 insertions, 0 deletions