From c7911bb582eee0b470904b740f5f092d689d97ee Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 18 Jul 2017 17:29:57 +0200 Subject: loplugin:redundantcast (clang-cl) Change-Id: I9567aa4326cd70dd46fbbae53e1cb63b105e5df5 --- svl/source/crypto/cryptosign.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl') diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx index e0319a1e9e97..2349b17661de 100644 --- a/svl/source/crypto/cryptosign.cxx +++ b/svl/source/crypto/cryptosign.cxx @@ -773,7 +773,7 @@ bool CreateSigningCertificateAttribute(void* pDerEncoded, int nDerEncoded, PCCER return false; } - if (!CryptHashData(hHash, reinterpret_cast(pDerEncoded), nDerEncoded, 0)) + if (!CryptHashData(hHash, static_cast(pDerEncoded), nDerEncoded, 0)) { SAL_WARN("svl.crypto", "CryptHashData() failed"); return false; -- cgit