ShellPkg/UefiShellAcpiViewCommandLib: Replace shift logical left

Replace the operation to shift logical left with the function
LShiftU64, which has the same functionality.
The original code causes ShellPkg build failure with build
target"-b NOOPT".

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
Shenglei Zhang 2019-08-15 15:32:59 +08:00 committed by Liming Gao
parent 944bd5cf1d
commit 5726bdd9a2
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ DumpUint64 (
Val = *(UINT32*)(Ptr + sizeof (UINT32));
Val <<= 32;
Val = LShiftU64(Val,32);
Val |= (UINT64)*(UINT32*)Ptr;
Print (Format, Val);