arm: fix bootstrap failure following automatic mode selection patch

Fix a signed vs unsigned comparison in last change.

gcc:
	* common/config/arm/arm-common.c (arm_config_default): Change type
	of 'i' to unsigned.
This commit is contained in:
Richard Earnshaw 2021-03-09 17:02:53 +00:00
parent fb5d9e8361
commit a1e4fc19d9

View File

@ -248,7 +248,7 @@ check_isa_bits_for (const enum isa_feature* bits, enum isa_feature bit)
static const char *
arm_config_default (const char *name)
{
int i;
unsigned i;
if (configure_default_options[0].name == NULL)
return NULL;