summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/crypto/cryptosign.cxx2
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;