diff --git a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h index 39264127574ccdb403c5122090f6fecaa6543d26..e410e3b61415eab3509f3d3320440e5a2e73fba1 100644 --- a/include/acpi/platform/acgcc.h +++ b/include/acpi/platform/acgcc.h @@ -46,7 +46,7 @@ /* Function name is used for debug output. Non-ANSI, compiler-dependent */ -#define ACPI_GET_FUNCTION_NAME __FUNCTION__ +#define ACPI_GET_FUNCTION_NAME (char *) __FUNCTION__ /* This macro is used to tag functions as "printf-like" because * some compilers (like GCC) can catch printf format string problems.