Add a missing intermediate UINTN case to fix the 32-bit build.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <[email protected]>
---
Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c
b/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c
index 3955b6df84a0..19151b93d571 100644
---
a/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c
+++
b/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c
@@ -201,7 +201,7 @@ CheckCapsule (
// Coalesce the capsule into unused memory. CreateState() below will copy
// it to a properly allocated buffer.
//
- *CapsuleBuffer = (VOID *)PcdGet64 (PcdSystemMemoryBase);
+ *CapsuleBuffer = (VOID *)(UINTN)PcdGet64 (PcdSystemMemoryBase);
*CapsuleBufferLength = UefiMemoryBase - PcdGet64 (PcdSystemMemoryBase);
PeiServicesSetBootMode (BOOT_ON_FLASH_UPDATE);
--
2.17.1
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel