From d888673acdc4cf92bb5ebf4d8e73e66222654596 Mon Sep 17 00:00:00 2001 From: Bejean Mosher Date: Fri, 11 Jul 2025 12:06:50 -0400 Subject: [PATCH] fix: [ADL/RPL/BTL] Build error with VS2022 Explicit cast added to resolve a build error with VS2022 caused by bitwise ORing different enum types. Signed-off-by: Bejean Mosher --- .../AlderlakeBoardPkg/Library/Stage2BoardInitLib/AcpiPlatform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/AlderlakeBoardPkg/Library/Stage2BoardInitLib/AcpiPlatform.c b/Platform/AlderlakeBoardPkg/Library/Stage2BoardInitLib/AcpiPlatform.c index 1f40f093..4e38dc1e 100644 --- a/Platform/AlderlakeBoardPkg/Library/Stage2BoardInitLib/AcpiPlatform.c +++ b/Platform/AlderlakeBoardPkg/Library/Stage2BoardInitLib/AcpiPlatform.c @@ -561,7 +561,7 @@ UpdateCpuNvs ( /// /// Update NVS ASL items. /// - CpuNvs->Cpuid = GetCpuFamily() | GetCpuStepping(); + CpuNvs->Cpuid = (UINT32)GetCpuFamily() | (UINT32)GetCpuStepping(); CpuNvs->Revision = 1; ///