diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-14 08:39:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-14 08:39:58 +0200 |
commit | c3711e3ea676e0ee0bb1a6bc43a57e735ee586fe (patch) | |
tree | 3621aa04d683af643226fdefde34a53fe2153d76 /svl | |
parent | d8655c09a946e9eac3a8be75a23a1516863d60e7 (diff) |
loplugin:cstylecast (clang-cl)
Change-Id: I1d9b30cc06882b7662ef5d706be52755e02323ed
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/crypto/cryptosign.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx index 952cdf5e0b6b..a6758519b7cd 100644 --- a/svl/source/crypto/cryptosign.cxx +++ b/svl/source/crypto/cryptosign.cxx @@ -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"); |