diff options
Diffstat (limited to 'source/compiler/aslnamesp.c')
| -rw-r--r-- | source/compiler/aslnamesp.c | 9 | 
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);  } | 
