Kaydet (Commit) 46293c0a authored tarafından Michael Stahl's avatar Michael Stahl

warning C4018: '>': signed/unsigned mismatch

Change-Id: If554d308f78bfe93901e9faf6b10158c4fe1edea
üst e3d18d26
...@@ -2811,7 +2811,7 @@ sal_uInt16 SwRedlineTbl::FindNextSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos, ...@@ -2811,7 +2811,7 @@ sal_uInt16 SwRedlineTbl::FindNextSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos,
{ {
nEnd = size(); nEnd = size();
if( nLookahead && USHRT_MAX != nLookahead && if( nLookahead && USHRT_MAX != nLookahead &&
nSttPos + nLookahead < size() ) static_cast<size_t>(nSttPos + nLookahead) < size() )
nEnd = nSttPos + nLookahead; nEnd = nSttPos + nLookahead;
for( ; nSttPos < nEnd; ++nSttPos ) for( ; nSttPos < nEnd; ++nSttPos )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment