aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-07-07 13:47:00 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-07-07 13:47:00 +0100
commit90e26f5aacd265257f7de58ee59f72dc36dff40e (patch)
treed1fbf7d21e99a799e0661c996cd1a28279a3a495 /target-arm
parent5563168c530e2cde8e000ee7aa4afc0ea4d0b42e (diff)
downloadqemu-90e26f5aacd265257f7de58ee59f72dc36dff40e.zip
qemu-90e26f5aacd265257f7de58ee59f72dc36dff40e.tar.gz
qemu-90e26f5aacd265257f7de58ee59f72dc36dff40e.tar.bz2
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')
-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 d50726f..7cac873 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);