Browse Source
With -Wsign-compare, compilers warn about a mismatching signedness in comparisons in the generated lexer code. In this case we walk over an array, and never use negative indicies, so we can change the loop counter variable to be unsigned. This fixes "make convert-dtsv0", when compiled with -Wsign-compare. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Message-Id: <20201012161948.23994-3-andre.przywara@arm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
Andre Przywara
4 years ago
committed by
David Gibson
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue