X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTexRow.cpp;h=6d88ba614140050f78702b4ecf0144e1e16c24b2;hb=3f7d2a66f522a45583e0a8b0ba734bb71f0ddde0;hp=e51c4fb4ff01b6a966c7cdb682293a48db2290ed;hpb=d056efff9d176d2876396b335c633e1936a7dcd5;p=lyx.git diff --git a/src/TexRow.cpp b/src/TexRow.cpp index e51c4fb4ff..6d88ba6141 100644 --- a/src/TexRow.cpp +++ b/src/TexRow.cpp @@ -13,7 +13,8 @@ #include #include "TexRow.h" -#include "debug.h" + +#include "support/debug.h" #include @@ -46,7 +47,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;