summaryrefslogtreecommitdiff
path: root/source/compiler/aslresources.y
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2022-05-21 12:17:58 +0200
committerThomas Weißschuh <thomas@t-8ch.de>2022-05-21 12:17:58 +0200
commit2185f7d5d7a5650dbcb6a05e9de41f340cd3b865 (patch)
tree7f4c1bdab5b191bcf32b28cbe774adee617bb4db /source/compiler/aslresources.y
parent6b7a78c41c04772a30923c8c0ba71770d55ac815 (diff)
downloadacpica-2185f7d5d7a5650dbcb6a05e9de41f340cd3b865.tar.gz
debug: use UINT_PTR_T to store stack boundaries
GCC12 complains about storing invalid pointers, store them as integers instead. obj/acpiexec ../../../source/components/utilities/utdebug.c ../../../source/components/utilities/utdebug.c: In function 'AcpiUtInitStackPtrTrace': ../../../source/components/utilities/utdebug.c:188:31: error: storing the address of local variable 'CurrentSp' in 'AcpiGbl_EntryStackPointer' [-Werror=dangling-pointer=] 188 | AcpiGbl_EntryStackPointer = &CurrentSp; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../../../source/components/utilities/utdebug.c:185:29: note: 'CurrentSp' declared here 185 | ACPI_SIZE CurrentSp; | ^~~~~~~~~ Fixes #771
Diffstat (limited to 'source/compiler/aslresources.y')
0 files changed, 0 insertions, 0 deletions