From a9a4c26ed1365ffa089654fefc8fa2f29862b6c7 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 7 Dec 2017 19:38:10 +0100 Subject: comphelper: fix windows build Change-Id: I3241426674050c027e1b000b33fb284525a58cbb --- comphelper/source/misc/storagehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper') 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(aVector.getConstArray()), - aVector.getLength(), false); + size_t(aVector.getLength()), false); GpgME::Data cipher; GpgME::EncryptionResult crypt_res = ctx->encrypt( -- cgit