Changeset 58b4fe7 in rtems
- Timestamp:
-
10/01/20 16:46:28
(4 years ago)
- Author:
- Andre Przywara <andre.przywara@…>
- Branches:
- master
- Children:
- 140935c5
- Parents:
- 113cc99
- git-author:
- Andre Przywara <andre.przywara@…> (10/01/20 16:46:28)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (12/14/21 15:00:44)
- Message:
-
libfdt: libfdt_wip: Fix comparison warning
With -Wsign-compare, compilers warn about a mismatching signedness
in a comparison in fdt_setprop_inplace_namelen_partial().
fdt_getprop_namelen() will only return negative error values in "proplen"
if the return value is NULL. So we can rely on "proplen" being positive
in our case and can safely cast it to an unsigned type.
Signed-off-by: Andre Przywara <andre.przywara@…>
Message-Id: <20201001164630.4980-5-andre.przywara@…>
Signed-off-by: David Gibson <david@…>
-
(No files)
-