diff options
Diffstat (limited to 'sim/cris/sim-if.c')
-rw-r--r-- | sim/cris/sim-if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/cris/sim-if.c b/sim/cris/sim-if.c index 054cce557b1..1a5d421caff 100644 --- a/sim/cris/sim-if.c +++ b/sim/cris/sim-if.c @@ -746,7 +746,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd, specified. */ if (abfd != NULL && !cris_bare_iron) { - char *name = bfd_get_filename (abfd); + const char *name = bfd_get_filename (abfd); char **my_environ = GET_ENVIRON (); /* We use these maps to give the same behavior as the old xsim simulator. */ |