X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellAcpiViewCommandLib%2FParsers%2FXsdt%2FXsdtParser.c;h=a5e1412484b56258c40e0cb4d795157ffbce6826;hp=99521cd67a714065c2eb9e4e5ec0f2e21f4c9da9;hb=68bef3f0c7c71da2f065fd348efa79f04799d347;hpb=76c09700edc67686b29662e81a3ca7d947594ce5 diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c index 99521cd67a..a5e1412484 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c @@ -96,7 +96,7 @@ ParseAcpiXsdt ( CONST UINT8* Revision; if ((UINT64*)(UINTN)(*TablePointer) != NULL) { - UINT8* Ptr; + UINT8* SignaturePtr; ParseAcpiHeader ( (UINT8*)(UINTN)(*TablePointer), @@ -105,17 +105,17 @@ ParseAcpiXsdt ( &Revision ); - Ptr = (UINT8*)Signature; + SignaturePtr = (UINT8*)Signature; UnicodeSPrint ( Buffer, sizeof (Buffer), L"Entry[%d] - %c%c%c%c", EntryIndex++, - Ptr[0], - Ptr[1], - Ptr[2], - Ptr[3] + SignaturePtr[0], + SignaturePtr[1], + SignaturePtr[2], + SignaturePtr[3] ); } else { UnicodeSPrint (