diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-01 13:04:04 -0500 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-01 13:04:04 -0500 |
commit | 57a0008380254104656d31924243c92cec9cb79d (patch) | |
tree | 3474ca3b442851f9717272761853ceb3f9f9c20b /sc | |
parent | 8e88765cc67b42755b6950dccb24f771c1e1dc83 (diff) |
GPU Calc: fixed a compiler warning
Change-Id: Ia468731911f4b492b85ede63a9646fe28ca63cd8
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/op_financial.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/opencl/op_financial.cxx b/sc/source/core/opencl/op_financial.cxx index ff167e0f1675..f2ae1003a426 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); |