summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-01-17 09:27:58 +0200
committerTor Lillqvist <tml@collabora.com>2014-01-17 09:28:06 +0200
commit4ce77032c258789eca447378b7e0b0fa2d9b27da (patch)
treef0180f2bd2f39cf43d4dc5aab6a49f0879d80cad /sw
parent342d9a34a55ca40250e2e9a18a34c9fff994b9c8 (diff)
WaE: comparison between signed and unsigned integer expressions
Change-Id: I821b403a14a6c889a2652e766f59ada79b1dcb88
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/laycache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index 6b63407c76b6..52551ced26bb 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
{