aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32')
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/interf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 1592693..fbf8813 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-10 Mike Frysinger <vapier@gentoo.org>
+
+ * interf.c (sim_do_command): Add const to cmd.
+
2014-03-05 Mike Frysinger <vapier@gentoo.org>
* interf.c (sim_load): Add const to prog.
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 84229cd..63b3f38 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -479,7 +479,7 @@ sim_trace (sd)
void
sim_do_command(sd, cmd)
SIM_DESC sd;
- char *cmd;
+ const char *cmd;
{
exec_cmd(&sregs, cmd);
}