summaryrefslogtreecommitdiff
path: root/gdb/amd64-dicos-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64-dicos-tdep.c')
-rw-r--r--gdb/amd64-dicos-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-dicos-tdep.c b/gdb/amd64-dicos-tdep.c
index e797843bc9f..ee91888491b 100644
--- a/gdb/amd64-dicos-tdep.c
+++ b/gdb/amd64-dicos-tdep.c
@@ -35,7 +35,7 @@ amd64_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
static enum gdb_osabi
amd64_dicos_osabi_sniffer (bfd *abfd)
{
- char *target_name = bfd_get_target (abfd);
+ const char *target_name = bfd_get_target (abfd);
/* On amd64-DICOS, the Load Module's "header" section is 72
bytes. */