[Libreoffice-commits] core.git: sc/source
I-Jui Sung (Ray)
ray at multicorewareinc.com
Fri Nov 1 19:04:47 CET 2013
sc/source/core/opencl/op_financial.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 57a0008380254104656d31924243c92cec9cb79d
Author: I-Jui (Ray) Sung <ray at multicorewareinc.com>
Date: Fri Nov 1 13:04:04 2013 -0500
GPU Calc: fixed a compiler warning
Change-Id: Ia468731911f4b492b85ede63a9646fe28ca63cd8
diff --git a/sc/source/core/opencl/op_financial.cxx b/sc/source/core/opencl/op_financial.cxx
index ff167e0..f2ae100 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -1963,11 +1963,11 @@ void OpPMT::GenSlidingWindowFunction(std::stringstream &ss,
ss << "int gid0 = get_global_id(0);\n ";
ss<<"double tmp0,tmp1,tmp2;\n ";
ss<<"double tmp3=0,tmp4=0;\n ";
- unsigned i = vSubArguments.size();
+ size_t i = vSubArguments.size();
size_t nItems = 0;
ss <<"\n ";
//while (i-- > 1)
- for (size_t i = 0; i < vSubArguments.size(); i++)
+ for (i = 0; i < vSubArguments.size(); i++)
{
FormulaToken *pCur = vSubArguments[i]->GetFormulaToken();
assert(pCur);
More information about the Libreoffice-commits
mailing list