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

Tor Lillqvist tml at collabora.com
Thu Jan 16 23:28:37 PST 2014


 sw/source/core/layout/laycache.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4ce77032c258789eca447378b7e0b0fa2d9b27da
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Jan 17 09:27:58 2014 +0200

    WaE: comparison between signed and unsigned integer expressions
    
    Change-Id: I821b403a14a6c889a2652e766f59ada79b1dcb88

diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index 6b63407..52551ce 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -262,7 +262,7 @@ void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc )
                             // immediately.
                             if( pTab->GetFollow() )
                             {
-                                if( nOfst == COMPLETE_STRING )
+                                if( nOfst == (sal_uLong) COMPLETE_STRING )
                                     nOfst = 0;
                                 do
                                 {


More information about the Libreoffice-commits mailing list