aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/h8300/compile.c')
-rw-r--r--sim/h8300/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 44d60f6..b249080 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -4715,7 +4715,7 @@ sim_store_register (SIM_DESC sd, int rn, unsigned char *value, int length)
h8_set_ticks (sd, longval);
break;
}
- return -1;
+ return length;
}
int