mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-06-14 04:16:15 -07:00
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 <bejean.mosher@intel.com>
This commit is contained in:
@@ -561,7 +561,7 @@ UpdateCpuNvs (
|
||||
///
|
||||
/// Update NVS ASL items.
|
||||
///
|
||||
CpuNvs->Cpuid = GetCpuFamily() | GetCpuStepping();
|
||||
CpuNvs->Cpuid = (UINT32)GetCpuFamily() | (UINT32)GetCpuStepping();
|
||||
CpuNvs->Revision = 1;
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user