]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c
ShellPkg/UefiShellAcpiViewCommandLib: Fix VS2017 compilation errors
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / Parsers / Xsdt / XsdtParser.c
index 99521cd67a714065c2eb9e4e5ec0f2e21f4c9da9..a5e1412484b56258c40e0cb4d795157ffbce6826 100644 (file)
@@ -96,7 +96,7 @@ ParseAcpiXsdt (
       CONST UINT8*  Revision;\r
 \r
       if ((UINT64*)(UINTN)(*TablePointer) != NULL) {\r
-        UINT8*      Ptr;\r
+        UINT8*      SignaturePtr;\r
 \r
         ParseAcpiHeader (\r
           (UINT8*)(UINTN)(*TablePointer),\r
@@ -105,17 +105,17 @@ ParseAcpiXsdt (
           &Revision\r
           );\r
 \r
-        Ptr = (UINT8*)Signature;\r
+        SignaturePtr = (UINT8*)Signature;\r
 \r
         UnicodeSPrint (\r
           Buffer,\r
           sizeof (Buffer),\r
           L"Entry[%d] - %c%c%c%c",\r
           EntryIndex++,\r
-          Ptr[0],\r
-          Ptr[1],\r
-          Ptr[2],\r
-          Ptr[3]\r
+          SignaturePtr[0],\r
+          SignaturePtr[1],\r
+          SignaturePtr[2],\r
+          SignaturePtr[3]\r
           );\r
       } else {\r
         UnicodeSPrint (\r