diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/Library/PeiSmmAccessLib/PeiSmmAccessLib.c b/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/Library/PeiSmmAccessLib/PeiSmmAccessLib.c index 4df0d695fda..560aefefadd 100644 --- a/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/Library/PeiSmmAccessLib/PeiSmmAccessLib.c +++ b/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/Library/PeiSmmAccessLib/PeiSmmAccessLib.c @@ -108,7 +108,7 @@ Close ( { SMM_ACCESS_PRIVATE_DATA *SmmAccess; BOOLEAN OpenState; - UINT8 Index; + UINTN Index; SmmAccess = SMM_ACCESS_PRIVATE_DATA_FROM_THIS (This); if (DescriptorIndex >= SmmAccess->NumberRegions) { diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/SmmAccessDxe/SmmAccessDriver.c b/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/SmmAccessDxe/SmmAccessDriver.c index 1cbce1907c6..1bb3f1a2747 100644 --- a/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/SmmAccessDxe/SmmAccessDriver.c +++ b/Silicon/Intel/IntelSiliconPkg/Feature/SmmAccess/SmmAccessDxe/SmmAccessDriver.c @@ -166,7 +166,7 @@ Close ( { SMM_ACCESS_PRIVATE_DATA *SmmAccess; BOOLEAN OpenState; - UINT8 Index; + UINTN Index; UINTN DescriptorIndex; SmmAccess = SMM_ACCESS_PRIVATE_DATA_FROM_THIS (This);