fix MSVC warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19552 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-08-14 09:44:38 +00:00
parent 55aafd2403
commit 7ef45b8610

View File

@ -46,7 +46,7 @@ void TexRow::newline()
bool TexRow::getIdFromRow(int row, int & id, int & pos) const
{
if (row <= 0 || row > rowlist.size()) {
if (row <= 0 || row > int(rowlist.size())) {
id = -1;
pos = 0;
return false;