Skip to content

Commit

Permalink
target-arm/arm-semi.c: In SYS_HEAPINFO use correct type for 'limit'
Browse files Browse the repository at this point in the history
In commit f566641 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
  • Loading branch information
pm215 committed Jul 7, 2016
1 parent 5563168 commit 90e26f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-arm/arm-semi.c
Expand Up @@ -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);
Expand Down

0 comments on commit 90e26f5

Please sign in to comment.