From c1e4908d9e5c3f6bef93de053119e44fcbdea944 Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Sun, 31 Jan 2021 16:02:02 +0100 Subject: [PATCH] ACPICA marks AcpiOsPrintf printf-like, fix found warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I26e3a4ca8654eb3859ef0a8d3f0de83e251b96da Reviewed-on: https://review.haiku-os.org/c/haiku/+/3720 Reviewed-by: Jérôme Duval --- src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp b/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp index dda946e3bf..aaa3299c1c 100644 --- a/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp +++ b/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp @@ -1204,7 +1204,7 @@ AcpiOsSignal(UINT32 function, void *info) #endif case ACPI_SIGNAL_BREAKPOINT: if (info != NULL) - AcpiOsPrintf("AcpiOsBreakpoint: %s ****\n", info); + AcpiOsPrintf("AcpiOsBreakpoint: %s ****\n", (const char*)info); else AcpiOsPrintf("At AcpiOsBreakpoint ****\n"); break;