Changeset 3437b91 in rtems

Timestamp:
09/21/20 16:52:55 (4 years ago)
Author:
Simon Glass <sjg@…>
Branches:
master
Children:
28f7e76
Parents:
11df656
git-author:
Simon Glass <sjg@…> (09/21/20 16:52:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/14/21 15:00:44)
Message:

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@…>
Signed-off-by: Andre Przywara <andre.przywara@…>
Message-Id: <20200921165303.9115-7-andre.przywara@…>
Signed-off-by: David Gibson <david@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.