From 7c9a09d0e0f8411edd326406cb8af2721c649a2c Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Sun, 7 Aug 2016 13:12:56 +0200 Subject: [PATCH] Casting string constant to ACPI_STRING to fix warning --- src/add-ons/kernel/bus_managers/acpi/BusManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/bus_managers/acpi/BusManager.cpp b/src/add-ons/kernel/bus_managers/acpi/BusManager.cpp index 938b796cf2..16bf804191 100644 --- a/src/add-ons/kernel/bus_managers/acpi/BusManager.cpp +++ b/src/add-ons/kernel/bus_managers/acpi/BusManager.cpp @@ -239,7 +239,7 @@ acpi_std_ops(int32 op,...) parameter.Count = 1; parameter.Pointer = &arg; - AcpiEvaluateObject(NULL, "\\_PIC", ¶meter, NULL); + AcpiEvaluateObject(NULL, (ACPI_STRING)"\\_PIC", ¶meter, NULL); if (checkAndLogFailure(AcpiEnableSubsystem( ACPI_FULL_INITIALIZATION),