diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index c511bf9365..9e551da945 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c @@ -2507,7 +2507,7 @@ UpdateDeletePage ( // // GuidToString (&Cert->SignatureOwner, GuidStr, 100); UINTN size = 100; - X509GetCommonName((UINT8*)Cert->SignatureData, (UINTN)CertList->SignatureSize, (UINT8*)GuidStr, &size); + X509GetCommonName((UINT8*)Cert->SignatureData, (UINTN)CertList->SignatureSize, (CHAR8*)GuidStr, &size); GuidID = HiiSetString (PrivateData->HiiHandle, 0, GuidStr, NULL); HiiCreateCheckBoxOpCode (