mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ports/acpica-tools: Prevent dangling pointer compiler warning
This commit is contained in:
parent
d18cae7301
commit
703ac59b27
Notes:
sideshowbarker
2024-07-17 16:23:55 +09:00
Author: https://github.com/moormaster Commit: https://github.com/SerenityOS/serenity/commit/703ac59b27 Pull-request: https://github.com/SerenityOS/serenity/pull/19673 Reviewed-by: https://github.com/supercomputer7 ✅
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…
Reference in a new issue