[Libreoffice-commits] core.git: sax/source

Miklos Vajna vmiklos at collabora.co.uk
Tue Nov 19 22:49:26 PST 2013


 sax/source/tools/fastattribs.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ada73e588fe0f948bf49591974f466602452fd10
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Nov 20 07:49:00 2013 +0100

    sax: -Werror=sign-compare
    
    Change-Id: I2e7d482b29fc5859c32fa1731a5f1fd551509e88

diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx
index c0a92a1..4b591a0 100644
--- a/sax/source/tools/fastattribs.cxx
+++ b/sax/source/tools/fastattribs.cxx
@@ -194,7 +194,7 @@ sal_Int32 FastTokenLookup::getTokenFromChars(
     if( !nLen )
         nLen = strlen( pToken );
 
-    if ( nLen < mnUtf8BufferSize )
+    if ( static_cast<sal_Int32>(nLen) < mnUtf8BufferSize )
     {
         // Get intimiate with the underlying sequence cf. sal/types.h
         sal_Sequence *pSeq = maUtf8Buffer.get();


More information about the Libreoffice-commits mailing list