* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
[deliverable/binutils-gdb.git] / gdb / top.c
index 1bd22e3706d19b0f700ecd752518d049a6eb7695..98ad51b7f8ec1c4be604cf8a9efc40639050c7b5 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1370,9 +1370,11 @@ init_history (void)
          that was read.  */
 #ifdef __MSDOS__
       /* No leading dots in file names are allowed on MSDOS.  */
-      history_filename = concat (current_directory, "/_gdb_history", NULL);
+      history_filename = concat (current_directory, "/_gdb_history",
+                                (char *)NULL);
 #else
-      history_filename = concat (current_directory, "/.gdb_history", NULL);
+      history_filename = concat (current_directory, "/.gdb_history",
+                                (char *)NULL);
 #endif
     }
   read_history (history_filename);
This page took 0.030128 seconds and 4 git commands to generate.