aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r--gdb/cp-support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index 4902e50..0620aa7 100644
--- a/gdb/cp-support.c
+++ b/gdb/cp-support.c
@@ -1205,7 +1205,7 @@ make_symbol_overload_list_adl_namespace (struct type *type,
const char *func_name)
{
char *namespace;
- char *type_name;
+ const char *type_name;
int i, prefix_len;
while (TYPE_CODE (type) == TYPE_CODE_PTR