]> git.lyx.org Git - features.git/commitdiff
MSVC warning (signed/unsigned).
authorAbdelrazak Younes <younes@lyx.org>
Fri, 26 Jan 2007 12:32:03 +0000 (12:32 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 26 Jan 2007 12:32:03 +0000 (12:32 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16869 a592a061-630c-0410-9148-cb99ea01b6c8

src/text2.C

index 4b905d6f6f71f5813dfcb2ff82cb2bf88e96e5bc..d27f5e1dbdb4fcdfe5b8580174c4e20014816fdd 100644 (file)
@@ -1246,7 +1246,7 @@ bool LyXText::deleteEmptyParagraphMechanism(LCursor & cur,
 
 void LyXText::deleteEmptyParagraphMechanism(pit_type first, pit_type last, bool trackChanges)
 {
-       BOOST_ASSERT(first >= 0 && first <= last && last < pars_.size());
+       BOOST_ASSERT(first >= 0 && first <= last && last < (int) pars_.size());
 
        for (pit_type pit = first; pit <= last; ++pit) {
                Paragraph & par = pars_[pit];