From daf9c9c8af4ae7b8a1327040287dafb90ed5146b Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 31 May 2012 17:25:20 +0200 Subject: SmParser::GetTokenTableEntry: -Werror=sign-compare Change-Id: Iee631653e251b6e4a1b633f25d9d05c10aaff662 --- starmath/source/parse.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 7503cb35e20d..4d9a3a9fc663 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 )) { -- cgit