aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-st2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-st2000.c')
-rw-r--r--gdb/remote-st2000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-st2000.c b/gdb/remote-st2000.c
index 4fddb3c..0c70ec0 100644
--- a/gdb/remote-st2000.c
+++ b/gdb/remote-st2000.c
@@ -399,7 +399,8 @@ get_reg_name (regno)
int regno;
{
static char buf[50];
- char *p, *b;
+ const char *p;
+ char *b;
b = buf;