aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index b2a1d18..62e4020 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -2718,7 +2718,7 @@ gdb_realpath (const char *filename)
# define USE_REALPATH
# endif
# if defined (USE_REALPATH)
- char *rp = realpath (filename, buf);
+ const char *rp = realpath (filename, buf);
if (rp == NULL)
rp = filename;
return xstrdup (rp);