summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2013-12-16 09:34:58 -0500
committerMichael Stahl <mstahl@redhat.com>2013-12-16 14:44:15 +0000
commita088b9791aa19ecfe3baf551435773b039f1a12e (patch)
tree87955b381641a633a0075daf0cb777e85237ab08 /oox
parent8c853d983a1cbeadbd65357e386e208984b148c7 (diff)
Use sal_Int32 to satisfy oox/helper/helper.hxx's convertLittleEndian
Fixes build error "no matching function for call to oox::ByteOrderConverter::convertLittleEndian(int&)" Change-Id: I899f151ff99737247ce4090f59897eba842c40ba Reviewed-on: https://gerrit.libreoffice.org/7099 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/crypto/AgileEngine.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/crypto/AgileEngine.cxx b/oox/source/crypto/AgileEngine.cxx
index f56e669e9dce..86d7025b83d1 100644
--- a/oox/source/crypto/AgileEngine.cxx
+++ b/oox/source/crypto/AgileEngine.cxx
@@ -106,7 +106,7 @@ bool AgileEngine::calculateHashFinal(const OUString& rPassword, vector<sal_uInt8
vector<sal_uInt8> data(mInfo.hashSize + 4, 0);
- for (int i = 0; i < mInfo.spinCount; i++)
+ for (sal_Int32 i = 0; i < mInfo.spinCount; i++)
{
ByteOrderConverter::writeLittleEndian( &data[0], i );
std::copy(hash.begin(), hash.end(), data.begin() + 4);