diff options
Diffstat (limited to 'gdb/sparc-sol2-tdep.c')
-rw-r--r-- | gdb/sparc-sol2-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-sol2-tdep.c b/gdb/sparc-sol2-tdep.c index 1aabe76..5afe308 100644 --- a/gdb/sparc-sol2-tdep.c +++ b/gdb/sparc-sol2-tdep.c @@ -244,7 +244,7 @@ sparc_sol2_static_transform_name (const char *name) if (name[0] == '$') { - char *p = strrchr (name, '.'); + const char *p = strrchr (name, '.'); if (p) return p + 1; } |