]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/macroexp.c
-Wwrite-strings: The Rest
[thirdparty/binutils-gdb.git] / gdb / macroexp.c
index 5537d9d60f4a9a8bd947780a6ece288fb8a9c82f..e7a0dadaef7663aacc49f7c936cc18fc46817e35 100644 (file)
@@ -170,7 +170,7 @@ appendc (struct macro_buffer *b, int c)
 
 /* Append the LEN bytes at ADDR to the buffer B.  */
 static void
-appendmem (struct macro_buffer *b, char *addr, int len)
+appendmem (struct macro_buffer *b, const char *addr, int len)
 {
   int new_len = b->len + len;