summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2017-12-07 19:38:10 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-12-07 19:38:59 +0100
commita9a4c26ed1365ffa089654fefc8fa2f29862b6c7 (patch)
treed1d8ef51c379685c586b4c1ed16fe868acaafd90
parent6fd6e3c1d36d67002967f56e47255e360f4b08c1 (diff)
comphelper: fix windows build
Change-Id: I3241426674050c027e1b000b33fb284525a58cbb
-rw-r--r--comphelper/source/misc/storagehelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx
index 7fa46554b595..36641485fe2e 100644
--- a/comphelper/source/misc/storagehelper.cxx
+++ b/comphelper/source/misc/storagehelper.cxx
@@ -494,7 +494,7 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreateGpgPackageEncryptionDat
// ctx is setup now, let's encrypt the lot!
GpgME::Data plain(
reinterpret_cast<const char*>(aVector.getConstArray()),
- aVector.getLength(), false);
+ size_t(aVector.getLength()), false);
GpgME::Data cipher;
GpgME::EncryptionResult crypt_res = ctx->encrypt(