From: Peter Maydell Date: Thu, 7 Jul 2016 12:47:00 +0000 (+0100) Subject: target-arm/arm-semi.c: In SYS_HEAPINFO use correct type for 'limit' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=90e26f5aacd265257f7de58ee59f72dc36dff40e;p=qemu.git 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 Reviewed-by: Laurent Desnogues Signed-off-by: Peter Maydell Message-id: 1467650942-28706-1-git-send-email-peter.maydell@linaro.org --- 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);