aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-param.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-param.c')
-rw-r--r--gdb/python/py-param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-param.c b/gdb/python/py-param.c
index 1970714..acb48cd 100644
--- a/gdb/python/py-param.c
+++ b/gdb/python/py-param.c
@@ -470,7 +470,7 @@ add_setshow_generic (int parmclass, enum command_class cmdclass,
struct cmd_list_element **show_list)
{
struct cmd_list_element *param = NULL;
- char *tmp_name = NULL;
+ const char *tmp_name = NULL;
switch (parmclass)
{