X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-frv.c;h=24baa96364ab3b9096b7c77bd828a5ef9bde16b9;hb=17b9d67d4e6bcf2b2b4eecc91b0ff6af35e0fef5;hp=c9aacf8c2d21d8bc4338e9e63b4afd59fe054f8a;hpb=30bd735cb042395346c3cb6a28c1fa6cee79bbd8;p=binutils-gdb.git diff --git a/gas/config/tc-frv.c b/gas/config/tc-frv.c index c9aacf8c2d2..24baa96364a 100644 --- a/gas/config/tc-frv.c +++ b/gas/config/tc-frv.c @@ -262,7 +262,7 @@ size_t md_longopts_size = sizeof (md_longopts); static int g_switch_value = 8; int -md_parse_option (int c, char *arg) +md_parse_option (int c, const char *arg) { switch (c) { @@ -337,7 +337,7 @@ md_parse_option (int c, char *arg) case OPTION_CPU: { - char *p; + const char *p; int cpu_flags = EF_FRV_CPU_GENERIC; /* Identify the processor type */