diff options
author | Richard Henderson <rth@twiddle.net> | 2012-08-27 09:45:38 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-01-05 12:18:43 -0800 |
commit | 204504e2fa0ec0f11c806ad335edf6bd1f499e34 (patch) | |
tree | 64786cab3de544bf1eec2e2bd259719352d282d2 /target-s390x/mem_helper.c | |
parent | 2c423fc070b3e260fc368e2573c76d7ddd52e165 (diff) |
target-s390: Convert STURA
Signed-off-by: Richard Henderson <rth@twiddle.net>
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 */ |