loplugin:cstylecast (clang-cl)
Change-Id: I1d9b30cc06882b7662ef5d706be52755e02323ed
This commit is contained in:
@@ -1925,7 +1925,8 @@ OUString GetSubjectName(PCCERT_CONTEXT pCertContext)
|
||||
}
|
||||
|
||||
// Allocate memory for subject name.
|
||||
LPTSTR szName = (LPTSTR)LocalAlloc(LPTR, dwData * sizeof(TCHAR));
|
||||
LPTSTR szName = static_cast<LPTSTR>(
|
||||
LocalAlloc(LPTR, dwData * sizeof(TCHAR)));
|
||||
if (!szName)
|
||||
{
|
||||
SAL_WARN("svl.crypto", "ValidateSignature: Unable to allocate memory for subject name");
|
||||
|
Reference in New Issue
Block a user