From ada73e588fe0f948bf49591974f466602452fd10 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 20 Nov 2013 07:49:00 +0100 Subject: [PATCH] sax: -Werror=sign-compare Change-Id: I2e7d482b29fc5859c32fa1731a5f1fd551509e88 --- sax/source/tools/fastattribs.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx index c0a92a1767aa..4b591a06d35a 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(nLen) < mnUtf8BufferSize ) { // Get intimiate with the underlying sequence cf. sal/types.h sal_Sequence *pSeq = maUtf8Buffer.get();