diff --git a/ArmPkg/Library/BdsLib/BdsLinuxFdt.c b/ArmPkg/Library/BdsLib/BdsLinuxFdt.c index 57d8dcc907..58db0bdd66 100644 --- a/ArmPkg/Library/BdsLib/BdsLinuxFdt.c +++ b/ArmPkg/Library/BdsLib/BdsLinuxFdt.c @@ -264,7 +264,7 @@ RelocateFdt ( { EFI_STATUS Status; INTN Error; - UINT32 FdtAlignment; + UINT64 FdtAlignment; *RelocatedFdtSize = OriginalFdtSize + FDT_ADDITIONAL_ENTRIES_SIZE;