diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-09-21 17:52:52 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-09-23 21:50:50 +1000 |
commit | f8e11e61624e7ea9307655fe4b5bb66f2d0c1be8 (patch) | |
tree | 6a3e808b4deb49dd1c8eb73f288b30c1408abb09 /libfdt/fdt_ro.c | |
parent | 0c43d4d7bf5a3a2e83d2005daf1e44ea5bd7f069 (diff) | |
download | dtc-f8e11e61624e7ea9307655fe4b5bb66f2d0c1be8.zip dtc-f8e11e61624e7ea9307655fe4b5bb66f2d0c1be8.tar.gz dtc-f8e11e61624e7ea9307655fe4b5bb66f2d0c1be8.tar.bz2 |
libfdt: fdt_grab_space_(): Fix comparison warning
With -Wsign-compare, compilers warn about a mismatching signedness
in a comparison in fdt_grab_space_().
All the involved values cannot be negative, so let's switch the types of
the local variables to unsigned to make the compiler happy.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Message-Id: <20200921165303.9115-4-andre.przywara@arm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'libfdt/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions