aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v
diff options
context:
space:
mode:
Diffstat (limited to 'sim/d10v')
-rw-r--r--sim/d10v/simops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c
index bc7806c..0ad8587 100644
--- a/sim/d10v/simops.c
+++ b/sim/d10v/simops.c
@@ -232,7 +232,7 @@ trace_input_func (SIM_DESC sd, const char *name, enum op_types in1, enum op_type
}
else if (filename)
{
- char *q = strrchr (filename, '/');
+ const char *q = strrchr (filename, '/');
sprintf (p, "%s ", (q) ? q+1 : filename);
p += strlen (p);
}