make md_parse_option () take a const char *
[binutils-gdb.git] / gas / config / tc-i960.c
index d09e3cfbc532247ed23fa153a5f8660968704b3c..8a8f31cd6263542a4ecee43ea9e828506521019a 100644 (file)
@@ -1827,7 +1827,7 @@ static const struct tabentry arch_tab[] =
 };
 
 int
-md_parse_option (int c, char *arg)
+md_parse_option (int c, const char *arg)
 {
   switch (c)
     {
@@ -1847,7 +1847,7 @@ md_parse_option (int c, char *arg)
     case 'A':
       {
        const struct tabentry *tp;
-       char *p = arg;
+       const char *p = arg;
 
        for (tp = arch_tab; tp->flag != NULL; tp++)
          if (!strcmp (p, tp->flag))