Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Andre Przywara <[email protected]> Message-Id: <[email protected]> Signed-off-by: David Gibson <[email protected]>
- Loading branch information