DynamicTablesPkg: Fix IA32 compilation errors

Add the support for X64 compilation to the CI.
- Fix the signed and unsigned variable comparision.
  warning C4018: '>': signed/unsigned mismatch
- Fix the NOOPT build error for IA32 by replacing
  64bit shift operator with LShiftU64.

Cc: Pierre Gondois <pierre.gondois@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Abdul Lateef Attar
2024-01-03 15:22:39 +05:30
committed by mergify[bot]
parent ea658e35a9
commit 16c8cfc810
4 changed files with 8 additions and 5 deletions

View File

@@ -1130,7 +1130,7 @@ ParseCmObjDesc (
&RemainingSize,
1
);
if ((RemainingSize > CmObjDesc->Size) ||
if ((RemainingSize > (INTN)CmObjDesc->Size) ||
(RemainingSize < 0))
{
ASSERT (0);