mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
Ports/acpica-tools: Prevent dangling pointer compiler warning
This commit is contained in:
parent
d18cae7301
commit
703ac59b27
|
@ -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…
Reference in a new issue