More char constification
[deliverable/binutils-gdb.git] / gdb / symtab.c
index c95b651f69a09d9579be498a008d6fa04de459f9..b0a16b6e97d8b7cf32a196577973b4f45b6df395 100644 (file)
@@ -515,8 +515,8 @@ gdb_mangle_name (struct type *type, int method_id, int signature_id)
   int is_constructor;
   int is_destructor = is_destructor_name (physname);
   /* Need a new type prefix.  */
-  char *const_prefix = method->is_const ? "C" : "";
-  char *volatile_prefix = method->is_volatile ? "V" : "";
+  const char *const_prefix = method->is_const ? "C" : "";
+  const char *volatile_prefix = method->is_volatile ? "V" : "";
   char buf[20];
   int len = (newname == NULL ? 0 : strlen (newname));
 
This page took 0.042104 seconds and 4 git commands to generate.