diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-04 21:50:21 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-04 21:52:08 +0100 |
commit | 2ff7b04c1b205b14dc1bace1e90ee62d26db9643 (patch) | |
tree | 76782b1c69a90a3ba08f0f897845925f171364fc | |
parent | e6ea58e49ee079772e0a0796cdfb5151af316a6b (diff) |
oox: use proper integer type when calling PK11_DigestFinal
Change-Id: I5ff79c55446bd9f3e350fb128793ffef51be843f
-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 a2a75733aade..6c46297e3787 100644 --- a/oox/source/crypto/CryptTools.cxx +++ b/oox/source/crypto/CryptTools.cxx @@ -236,7 +236,7 @@ bool sha512(vector<sal_uInt8>& output, vector<sal_uInt8>& input) if (status != SECSuccess) return false; - sal_uInt32 outputLength = 0; + unsigned int outputLength = 0; status = PK11_DigestFinal(mContext, &output[0], &outputLength, SHA512_LENGTH); if (status != SECSuccess || outputLength != SHA512_LENGTH) |