diff options
author | 2020-10-01 17:46:25 +0100 | |
---|---|---|
committer | 2020-10-02 10:22:37 +1000 | |
commit | 3d7c6f44195a78dfa52b1b8c9efd7efd706b0dd9 (patch) | |
tree | 094541e6bac6671a5367bb2fd790a6f34155d547 /libfdt/fdt.c | |
parent | 10f682788c3023d319cdc14f59ffe9d91cb6d2fc (diff) |
libfdt: fdt_add_string_(): Fix comparison warning
With -Wsign-compare, compilers warn about a mismatching signedness
in a comparison in fdt_add_string_().
Make all variables unsigned, and express the negative offset trick via
subtractions in the code.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Message-Id: <20201001164630.4980-2-andre.przywara@arm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'libfdt/fdt.c')
0 files changed, 0 insertions, 0 deletions