aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index f3850a2..e8bf973 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -547,7 +547,7 @@ start_subfile (char *name, char *dirname)
&& !IS_ABSOLUTE_PATH (subfile->name)
&& subfile->dirname != NULL)
subfile_name = concat (subfile->dirname, SLASH_STRING,
- subfile->name, NULL);
+ subfile->name, (char *) NULL);
else
subfile_name = subfile->name;