svl/source/crypto/cryptosign.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit c3711e3ea676e0ee0bb1a6bc43a57e735ee586fe Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Sep 14 08:39:58 2017 +0200 loplugin:cstylecast (clang-cl) Change-Id: I1d9b30cc06882b7662ef5d706be52755e02323ed 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"); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits