]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/corelow.c
* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
[thirdparty/binutils-gdb.git] / gdb / corelow.c
index c07b5749716661951b34b4c3235ea4148c9e4ef0..0f8269eaff65d1b50795d7810e55c75c00ba7342 100644 (file)
@@ -300,7 +300,7 @@ core_open (char *filename, int from_tty)
   filename = tilde_expand (filename);
   if (filename[0] != '/')
     {
-      temp = concat (current_directory, "/", filename, NULL);
+      temp = concat (current_directory, "/", filename, (char *)NULL);
       xfree (filename);
       filename = temp;
     }