diff options
Diffstat (limited to 'target-s390x/mem_helper.c')
-rw-r--r-- | target-s390x/mem_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-s390x/mem_helper.c b/target-s390x/mem_helper.c index 406ec9b69d..8987bbb9b1 100644 --- a/target-s390x/mem_helper.c +++ b/target-s390x/mem_helper.c @@ -1093,9 +1093,9 @@ void HELPER(ptlb)(CPUS390XState *env) } /* store using real address */ -void HELPER(stura)(CPUS390XState *env, uint64_t addr, uint32_t v1) +void HELPER(stura)(CPUS390XState *env, uint64_t addr, uint64_t v1) { - stw_phys(get_address(env, 0, 0, addr), v1); + stw_phys(get_address(env, 0, 0, addr), (uint32_t)v1); } /* load real address */ |