[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Tue Apr 30 08:25:32 PDT 2013


 sc/source/core/tool/formulagroup.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ca525b2b323685c3cca1eff59fda92bff44fdc31
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Tue Apr 30 11:27:46 2013 -0400

    Surpress warning on comparison between signed and unsigned.
    
    Change-Id: Ia155114817e3b28a201f734647b758cf7cebefce

diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index c554e9c..1ee57b5 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:


More information about the Libreoffice-commits mailing list