[Libreoffice-commits] .: starmath/source

David Tardon dtardon at kemper.freedesktop.org
Tue Mar 29 08:18:18 PDT 2011


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

New commits:
commit 15e66f2e60774c79df4f87421b13e48e44486c22
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Mar 29 17:17:59 2011 +0200

    WaE: comparison between signed and unsigned integer expr.

diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 714f1d5..8ed4121 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -816,7 +816,7 @@ void SmMathConfig::SaveFontFormatList()
         pVal->Value <<= (sal_Int16) aFntFmt.nItalic;
         pVal++;
     }
-    OSL_ENSURE( pVal - pValues == nCount * nSymbolProps, "properties missing" );
+    OSL_ENSURE( sal::static_int_cast<size_t>(pVal - pValues) == nCount * nSymbolProps, "properties missing" );
     ReplaceSetProperties( A2OU( FONT_FORMAT_LIST ) , aValues );
     
     rFntFmtList.SetModified( false );


More information about the Libreoffice-commits mailing list