summaryrefslogtreecommitdiff
path: root/compiler/aslerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/aslerror.c')
-rw-r--r--compiler/aslerror.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/aslerror.c b/compiler/aslerror.c
index ab85c6f6089e..12f108a268b6 100644
--- a/compiler/aslerror.c
+++ b/compiler/aslerror.c
@@ -620,13 +620,13 @@ AslCoreSubsystemError (
int
AslCompilererror (
- char *CompilerMessage)
+ const char *CompilerMessage)
{
AslCommonError (ASL_ERROR, ASL_MSG_SYNTAX, Gbl_CurrentLineNumber,
- Gbl_LogicalLineNumber, Gbl_CurrentLineOffset,
- Gbl_CurrentColumn, Gbl_Files[ASL_FILE_INPUT].Filename,
- CompilerMessage);
+ Gbl_LogicalLineNumber, Gbl_CurrentLineOffset,
+ Gbl_CurrentColumn, Gbl_Files[ASL_FILE_INPUT].Filename,
+ ACPI_CAST_PTR (char, CompilerMessage));
return 0;
}