summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-13 22:49:32 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-13 23:01:02 +0200
commit57c59b2466afbff92bd50daa27dbe3234fb3a192 (patch)
tree32b1ec9ab60535b47e75d2400ba648ebe18f2cfe /sc
parentc980d4970b7c19463739d6584632304f9a5d536d (diff)
warning C4245 signed/unsigned mismatch
Change-Id: Ibff6c806c287a2303cdf3b1942d5d5014a73bd30
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/formulagroup.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index 997d8b7852b1..a862b0c8da00 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -702,8 +702,8 @@ void FormulaGroupInterpreter::getOpenCLDeviceInfo(sal_Int32& rDeviceId, sal_Int3
#if HAVE_FEATURE_OPENCL
- size_t aDeviceId = -1;
- size_t aPlatformId = -1;
+ size_t aDeviceId = static_cast<size_t>(-1);
+ size_t aPlatformId = static_cast<size_t>(-1);
#ifndef DISABLE_DYNLOADING
osl::Module* pModule = getOpenCLModule();