Constify get_exec_file
[deliverable/binutils-gdb.git] / gdb / windows-nat.c
index d77828291c5ec87ae3cc29216981ccf52612b872..10d5c95d091d02a1e50406b186c5e48864911528 100644 (file)
@@ -1990,7 +1990,7 @@ windows_nat_target::attach (const char *args, int from_tty)
 
   if (from_tty)
     {
-      char *exec_file = (char *) get_exec_file (0);
+      const char *exec_file = get_exec_file (0);
 
       if (exec_file)
        printf_unfiltered ("Attaching to program `%s', %s\n", exec_file,
This page took 0.023991 seconds and 4 git commands to generate.