diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c index 94bafa22ef..a569c3c554 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c @@ -294,7 +294,7 @@ DumpUint64 ( Val = *(UINT32*)(Ptr + sizeof (UINT32)); - Val <<= 32; + Val = LShiftU64(Val,32); Val |= (UINT64)*(UINT32*)Ptr; Print (Format, Val);