summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-04-30 11:27:46 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-04-30 13:10:45 -0400
commita514c72071a4e572bb712f78b8b119ed0b2eb6b2 (patch)
tree75e8622f65ac1850e39a10a7ae1f9588af0347e6 /sc
parentacc9b2be09442f48e065d3d2aab8e227b610bf20 (diff)
Surpress warning on comparison between signed and unsigned.
Change-Id: Ia155114817e3b28a201f734647b758cf7cebefce
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/formulagroup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index c554e9cf3f1e..1ee57b54a611 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -39,7 +39,7 @@ bool FormulaGroupInterpreter::interpret()
{
const formula::SingleVectorRefToken* p2 = static_cast<const formula::SingleVectorRefToken*>(p);
const double* pArray = p2->GetArray();
- aCode2.AddDouble(i < p2->GetArrayLength() ? pArray[i] : 0.0);
+ aCode2.AddDouble(static_cast<size_t>(i) < p2->GetArrayLength() ? pArray[i] : 0.0);
}
break;
case formula::svDoubleVectorRef: