Fix a warning (missing const).
This commit is contained in:
parent
63bc6c1370
commit
77315351bc
2
gnu/dist/toolchain/gcc/config/arm/arm.c
vendored
2
gnu/dist/toolchain/gcc/config/arm/arm.c
vendored
@ -281,7 +281,7 @@ arm_override_options ()
|
|||||||
|
|
||||||
if (ptr->string != NULL && ptr->string[0] != '\0')
|
if (ptr->string != NULL && ptr->string[0] != '\0')
|
||||||
{
|
{
|
||||||
struct processors * sel;
|
const struct processors * sel;
|
||||||
|
|
||||||
for (sel = ptr->processors; sel->name != NULL; sel ++)
|
for (sel = ptr->processors; sel->name != NULL; sel ++)
|
||||||
if (streq (ptr->string, sel->name))
|
if (streq (ptr->string, sel->name))
|
||||||
|
Loading…
Reference in New Issue
Block a user