summaryrefslogtreecommitdiffstats
path: root/target-arm/arm-semi.c
diff options
context:
space:
mode:
authorPeter Maydell2016-07-07 14:47:00 +0200
committerPeter Maydell2016-07-07 14:47:00 +0200
commit90e26f5aacd265257f7de58ee59f72dc36dff40e (patch)
treed1fbf7d21e99a799e0661c996cd1a28279a3a495 /target-arm/arm-semi.c
parentMerge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into st... (diff)
downloadqemu-90e26f5aacd265257f7de58ee59f72dc36dff40e.tar.gz
qemu-90e26f5aacd265257f7de58ee59f72dc36dff40e.tar.xz
qemu-90e26f5aacd265257f7de58ee59f72dc36dff40e.zip
target-arm/arm-semi.c: In SYS_HEAPINFO use correct type for 'limit'
In commit f5666418c4 most of the SYS_HEAPINFO implementation was fixed to use target_ulong rather than uint32_t, but the 'limit' variable was not changed. Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com> Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1467650942-28706-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm/arm-semi.c')
-rw-r--r--target-arm/arm-semi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/arm-semi.c b/target-arm/arm-semi.c
index d50726f65d..7cac8734c7 100644
--- a/target-arm/arm-semi.c
+++ b/target-arm/arm-semi.c
@@ -565,7 +565,7 @@ target_ulong do_arm_semihosting(CPUARMState *env)
case TARGET_SYS_HEAPINFO:
{
target_ulong retvals[4];
- uint32_t limit;
+ target_ulong limit;
int i;
GET_ARG(0);