mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
Ports/acpica-tools: Prevent dangling pointer compiler warning
This commit is contained in:
parent
d18cae7301
commit
703ac59b27
1 changed files with 9 additions and 0 deletions
|
@ -22,3 +22,12 @@ index f789e68..fd18f5c 100644
|
|||
|
||||
|
||||
AcpiGbl_EntryStackPointer = &CurrentSp;
|
||||
@@ -205,7 +205,7 @@ void
|
||||
AcpiUtTrackStackPtr (
|
||||
void)
|
||||
{
|
||||
- ACPI_SIZE CurrentSp;
|
||||
+ static ACPI_SIZE CurrentSp;
|
||||
|
||||
|
||||
if (&CurrentSp < AcpiGbl_LowestStackPointer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue