]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/config/tc-m68k.c
Add more const type qualifiers to GAS sources.
[thirdparty/binutils-gdb.git] / gas / config / tc-m68k.c
index 6bff4fb1884c52a10211078b741a345ff9d298f7..7ef5ff41234aad3b3d18dd83c4a332b13835fe88 100644 (file)
@@ -122,7 +122,7 @@ struct label_line
 {
   struct label_line *next;
   symbolS *label;
-  char *file;
+  const char *file;
   unsigned int line;
   int text;
 };
@@ -4792,7 +4792,7 @@ m68k_frob_label (symbolS *sym)
   n = (struct label_line *) xmalloc (sizeof *n);
   n->next = labels;
   n->label = sym;
-  as_where (&n->file, &n->line);
+  n->file = as_where (&n->line);
   n->text = 0;
   labels = n;
   current_label = n;