diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2022-05-21 12:17:58 +0200 |
---|---|---|
committer | Thomas Weißschuh <thomas@t-8ch.de> | 2022-05-21 12:17:58 +0200 |
commit | 2185f7d5d7a5650dbcb6a05e9de41f340cd3b865 (patch) | |
tree | 7f4c1bdab5b191bcf32b28cbe774adee617bb4db /source/compiler/aslresources.y | |
parent | 6b7a78c41c04772a30923c8c0ba71770d55ac815 (diff) | |
download | acpica-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