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

New commits:
commit ca525b2b323685c3cca1eff59fda92bff44fdc31
Author: Kohei Yoshida <kohei.yosh...@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:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to