mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Make this compile on 64 bit systems again. You cannot just cast a 32 bit
int to a 64 bit pointer. This file is already off the vendor branch.
This commit is contained in:
parent
1c1d85facf
commit
3718a191eb
1 changed files with 1 additions and 1 deletions
|
|
@ -1292,7 +1292,7 @@ AcpiDbGenerateGpe (
|
|||
BlockNumber = ACPI_STRTOUL (BlockArg, NULL, 0);
|
||||
|
||||
|
||||
GpeEventInfo = AcpiEvGetGpeEventInfo ((void *) BlockNumber, GpeNumber);
|
||||
GpeEventInfo = AcpiEvGetGpeEventInfo ((void *)(uintptr_t) BlockNumber, GpeNumber);
|
||||
if (!GpeEventInfo)
|
||||
{
|
||||
AcpiOsPrintf ("Invalid GPE\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue