summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-27 17:56:38 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-27 17:56:38 +0200
commit46293c0a74f13e6cc5290fa5f062550c5db64b32 (patch)
tree795e6e07286675482d9954e7edbf45cd2646c5e1 /sw
parente3d18d2687639dd7687b658cf621f1e9d22b71f4 (diff)
warning C4018: '>': signed/unsigned mismatch
Change-Id: If554d308f78bfe93901e9faf6b10158c4fe1edea
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docredln.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index cd45f8a283bf..ee4babf76605 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -2811,7 +2811,7 @@ sal_uInt16 SwRedlineTbl::FindNextSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos,
{
nEnd = size();
if( nLookahead && USHRT_MAX != nLookahead &&
- nSttPos + nLookahead < size() )
+ static_cast<size_t>(nSttPos + nLookahead) < size() )
nEnd = nSttPos + nLookahead;
for( ; nSttPos < nEnd; ++nSttPos )