diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index d151174..690f87c 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -3030,9 +3030,9 @@ xfullpath (const char *filename) directory separator, avoid doubling it. */ real_path = gdb_realpath (dir_name); if (IS_DIR_SEPARATOR (real_path[strlen (real_path) - 1])) - result = concat (real_path, base_name, NULL); + result = concat (real_path, base_name, (char *)NULL); else - result = concat (real_path, SLASH_STRING, base_name, NULL); + result = concat (real_path, SLASH_STRING, base_name, (char *)NULL); xfree (real_path); return result; |