summaryrefslogtreecommitdiff
path: root/source/compiler/aslnamesp.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2019-08-16 17:03:01 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2019-08-16 17:03:01 +0000
commite63852a7532181a14cec2928b31af2209e98414a (patch)
treebe94508475add18bbaa0cacd6c467983d2b8a443 /source/compiler/aslnamesp.c
parent0ada71f05e76bf61eb2d5aba852db00705edd364 (diff)
Diffstat (limited to 'source/compiler/aslnamesp.c')
-rw-r--r--source/compiler/aslnamesp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/compiler/aslnamesp.c b/source/compiler/aslnamesp.c
index a3c445afb9fb..b5af0cb31be8 100644
--- a/source/compiler/aslnamesp.c
+++ b/source/compiler/aslnamesp.c
@@ -276,7 +276,7 @@ NsDoOneNamespaceObject (
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "%5u [%u] %*s %4.4s - %s",
AslGbl_NumNamespaceObjects, Level, (Level * 3), " ",
- &Node->Name, AcpiUtGetTypeName (Node->Type));
+ &Node->Name.Ascii[0], AcpiUtGetTypeName (Node->Type));
Op = Node->Op;
ObjDesc = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Node->Object);
@@ -429,7 +429,7 @@ NsDoOneNamespaceObject (
{
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT,
" [Initial Length 0x%.2X elements]",
- Op->Asl.Value.Integer);
+ (UINT32) Op->Asl.Value.Integer);
}
break;
@@ -452,7 +452,7 @@ NsDoOneNamespaceObject (
{
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT,
" [Initial Length 0x%.2X bytes]",
- Op->Asl.Value.Integer);
+ (UINT32) Op->Asl.Value.Integer);
}
break;
@@ -531,7 +531,8 @@ NsDoOnePathname (
return (Status);
}
- FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "%s\n", TargetPath.Pointer);
+ FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "%s\n",
+ ACPI_CAST_PTR (char, TargetPath.Pointer));
ACPI_FREE (TargetPath.Pointer);
return (AE_OK);
}