[Libreoffice-commits] .: starmath/source

Michael Stahl mst at kemper.freedesktop.org
Thu May 31 08:29:18 PDT 2012


 starmath/source/parse.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit daf9c9c8af4ae7b8a1327040287dafb90ed5146b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu May 31 17:25:20 2012 +0200

    SmParser::GetTokenTableEntry: -Werror=sign-compare
    
    Change-Id: Iee631653e251b6e4a1b633f25d9d05c10aaff662

diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 7503cb3..4d9a3a9 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -334,7 +334,7 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( const String &rName )
     const SmTokenTableEntry * pRes = 0;
     if (rName.Len())
     {
-        for (sal_Int32 i = 0; i < SAL_N_ELEMENTS(aTokenTable); ++i)
+        for (size_t i = 0; i < SAL_N_ELEMENTS(aTokenTable); ++i)
         {
             if (rName.EqualsIgnoreCaseAscii( aTokenTable[i].pIdent ))
             {


More information about the Libreoffice-commits mailing list