summaryrefslogtreecommitdiff
path: root/sim/v850/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/v850/interp.c')
-rw-r--r--sim/v850/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/v850/interp.c b/sim/v850/interp.c
index e8bea5f6752..21b587eeedf 100644
--- a/sim/v850/interp.c
+++ b/sim/v850/interp.c
@@ -327,7 +327,7 @@ sim_store_register (sd, rn, memory, length)
int length;
{
State.regs[rn] = T2H_4 (*(unsigned32*)memory);
- return -1;
+ return length;
}
void