]> git.lyx.org Git - features.git/commitdiff
fix warning.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 13 Jan 2008 10:48:10 +0000 (10:48 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 13 Jan 2008 10:48:10 +0000 (10:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22536 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiIdListModel.cpp

index ceb88baaa5d2cdd152b653d513e3a47be87eb9b3..2e169b50cec84da66a430cc9d63761df38a1fd89 100644 (file)
@@ -71,7 +71,7 @@ bool GuiIdListModel::insertRows(int row, int count,
 bool GuiIdListModel::removeRows(int row, int count, 
                QModelIndex const & /*parent*/)
 {
-       if (!rowIsValid(row) || row + count > userData_.size() ||
+       if (!rowIsValid(row) || row + count > int(userData_.size()) ||
            count < 0)
                return false;
        if (count == 0)