Casting string constant to ACPI_STRING to fix warning

This commit is contained in:
Fredrik Holmqvist 2016-08-07 13:12:56 +02:00
parent 06f719d1c3
commit 7c9a09d0e0

View File

@ -239,7 +239,7 @@ acpi_std_ops(int32 op,...)
parameter.Count = 1;
parameter.Pointer = &arg;
AcpiEvaluateObject(NULL, "\\_PIC", &parameter, NULL);
AcpiEvaluateObject(NULL, (ACPI_STRING)"\\_PIC", &parameter, NULL);
if (checkAndLogFailure(AcpiEnableSubsystem(
ACPI_FULL_INITIALIZATION),