mirror of https://github.com/acidanthera/audk.git
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:
parent
944bd5cf1d
commit
5726bdd9a2
|
@ -294,7 +294,7 @@ DumpUint64 (
|
|||
|
||||
Val = *(UINT32*)(Ptr + sizeof (UINT32));
|
||||
|
||||
Val <<= 32;
|
||||
Val = LShiftU64(Val,32);
|
||||
Val |= (UINT64)*(UINT32*)Ptr;
|
||||
|
||||
Print (Format, Val);
|
||||
|
|
Loading…
Reference in New Issue