diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-18 17:29:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-18 17:30:43 +0200 |
commit | c7911bb582eee0b470904b740f5f092d689d97ee (patch) | |
tree | 549eaf9ea8c3294fa8723059285ee6fd0dfc32c9 /svl | |
parent | e271435c43a498933b80726c0ab2cff642467034 (diff) |
loplugin:redundantcast (clang-cl)
Change-Id: I9567aa4326cd70dd46fbbae53e1cb63b105e5df5
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/crypto/cryptosign.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<const BYTE*>(pDerEncoded), nDerEncoded, 0)) + if (!CryptHashData(hHash, static_cast<const BYTE*>(pDerEncoded), nDerEncoded, 0)) { SAL_WARN("svl.crypto", "CryptHashData() failed"); return false; |