diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/crypto/CryptTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/crypto/CryptTools.cxx b/oox/source/crypto/CryptTools.cxx index 1d8a432ae2b8..4e0d189b735f 100644 --- a/oox/source/crypto/CryptTools.cxx +++ b/oox/source/crypto/CryptTools.cxx @@ -63,7 +63,7 @@ const EVP_CIPHER* Crypto::getCipher(CryptoType type) #if USE_TLS_NSS void Crypto::setupContext(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type, CK_ATTRIBUTE_TYPE operation) { - CK_MECHANISM_TYPE mechanism = -1; + CK_MECHANISM_TYPE mechanism = static_cast<CK_ULONG>(-1); SECItem ivItem; ivItem.type = siBuffer; |