ACPICA marks AcpiOsPrintf printf-like, fix found warning

Change-Id: I26e3a4ca8654eb3859ef0a8d3f0de83e251b96da
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3720
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Fredrik Holmqvist 2021-01-31 16:02:02 +01:00
parent 29989979d2
commit c1e4908d9e

View File

@ -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;