summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-04 21:50:21 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-04 21:52:08 +0100
commit2ff7b04c1b205b14dc1bace1e90ee62d26db9643 (patch)
tree76782b1c69a90a3ba08f0f897845925f171364fc /oox
parente6ea58e49ee079772e0a0796cdfb5151af316a6b (diff)
oox: use proper integer type when calling PK11_DigestFinal
Change-Id: I5ff79c55446bd9f3e350fb128793ffef51be843f
Diffstat (limited to 'oox')
-rw-r--r--oox/source/crypto/CryptTools.cxx2
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)