aboutsummaryrefslogtreecommitdiff
path: root/pylibfdt
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-21 17:52:55 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-09-24 11:06:30 +1000
commit54dca098531699dc8beeaf97e3525b9b5eb23b0a (patch)
tree91aa013a9051c9e784ba33c772007cc129c3f1f5 /pylibfdt
parentf8e11e61624e7ea9307655fe4b5bb66f2d0c1be8 (diff)
downloaddtc-54dca098531699dc8beeaf97e3525b9b5eb23b0a.zip
dtc-54dca098531699dc8beeaf97e3525b9b5eb23b0a.tar.gz
dtc-54dca098531699dc8beeaf97e3525b9b5eb23b0a.tar.bz2
libfdt: fdt_get_string(): Fix comparison warnings
With -Wsign-compare, compilers warn about a mismatching signedness in comparisons in fdt_get_string(). In the first two cases, we have just established that the signed values are not negative, so it's safe to cast the values to an unsigned type. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Message-Id: <20200921165303.9115-7-andre.przywara@arm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pylibfdt')
0 files changed, 0 insertions, 0 deletions