]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/cp-valprint.c
-Wwrite-strings: The Rest
[thirdparty/binutils-gdb.git] / gdb / cp-valprint.c
index 143bb48db37c08877d11b07ea66b4f256a55104d..73fe03d5c9b035f12aea2192d908d3ab4f5c94d9 100644 (file)
@@ -759,7 +759,7 @@ cp_find_class_member (struct type **self_p, int *fieldno,
 
 void
 cp_print_class_member (const gdb_byte *valaddr, struct type *type,
-                      struct ui_file *stream, char *prefix)
+                      struct ui_file *stream, const char *prefix)
 {
   enum bfd_endian byte_order = gdbarch_byte_order (get_type_arch (type));