diff --git a/src/frontends/qt4/GuiIdListModel.h b/src/frontends/qt4/GuiIdListModel.h index b0eb484990..fbf817ee5f 100644 --- a/src/frontends/qt4/GuiIdListModel.h +++ b/src/frontends/qt4/GuiIdListModel.h @@ -112,7 +112,7 @@ private: /// inline bool rowIsValid(int const i) const { - return i >= 0 && i <= userData_.size(); + return i >= 0 && i <= int(userData_.size()); } ; };